Skip to content

Commit 01046bc

Browse files
author
Jay Gadi
committed
remove banned words from tests
1 parent df6b238 commit 01046bc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/FeaturePresenterTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,34 +60,34 @@ public function get_display_status_returns_the_percentage_message_if_it_is_enabl
6060
/**
6161
* @test
6262
*/
63-
public function get_display_status_returns_the_whitelist_message_if_it_is_enabled_for_groups()
63+
public function get_display_status_returns_the_allowlist_message_if_it_is_enabled_for_groups()
6464
{
6565
$feature = new Feature('name', '0||d');
6666
$presenter = new FeaturePresenter($feature);
6767

68-
$this->assertEquals(FeaturePresenter::$statuses['whitelist'], $presenter->getDisplayStatus());
68+
$this->assertEquals(FeaturePresenter::$statuses['allowlist'], $presenter->getDisplayStatus());
6969
}
7070

7171
/**
7272
* @test
7373
*/
74-
public function get_display_status_returns_the_whitelist_message_if_it_is_enabled_for_users()
74+
public function get_display_status_returns_the_allowlist_message_if_it_is_enabled_for_users()
7575
{
7676
$feature = new Feature('name', '0|a|');
7777
$presenter = new FeaturePresenter($feature);
7878

79-
$this->assertEquals(FeaturePresenter::$statuses['whitelist'], $presenter->getDisplayStatus());
79+
$this->assertEquals(FeaturePresenter::$statuses['allowlist'], $presenter->getDisplayStatus());
8080
}
8181

8282
/**
8383
* @test
8484
*/
85-
public function get_display_status_returns_the_whitelist_message_if_it_is_enabled_for_users_and_groups()
85+
public function get_display_status_returns_the_allowlist_message_if_it_is_enabled_for_users_and_groups()
8686
{
8787
$feature = new Feature('name', '0|a|d');
8888
$presenter = new FeaturePresenter($feature);
8989

90-
$this->assertEquals(FeaturePresenter::$statuses['whitelist'], $presenter->getDisplayStatus());
90+
$this->assertEquals(FeaturePresenter::$statuses['allowlist'], $presenter->getDisplayStatus());
9191
}
9292

9393
/**

0 commit comments

Comments
 (0)