Skip to content

Commit

Permalink
remove banned words from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Gadi committed Mar 5, 2021
1 parent df6b238 commit 01046bc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/FeaturePresenterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,34 +60,34 @@ public function get_display_status_returns_the_percentage_message_if_it_is_enabl
/**
* @test
*/
public function get_display_status_returns_the_whitelist_message_if_it_is_enabled_for_groups()
public function get_display_status_returns_the_allowlist_message_if_it_is_enabled_for_groups()
{
$feature = new Feature('name', '0||d');
$presenter = new FeaturePresenter($feature);

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

/**
* @test
*/
public function get_display_status_returns_the_whitelist_message_if_it_is_enabled_for_users()
public function get_display_status_returns_the_allowlist_message_if_it_is_enabled_for_users()
{
$feature = new Feature('name', '0|a|');
$presenter = new FeaturePresenter($feature);

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

/**
* @test
*/
public function get_display_status_returns_the_whitelist_message_if_it_is_enabled_for_users_and_groups()
public function get_display_status_returns_the_allowlist_message_if_it_is_enabled_for_users_and_groups()
{
$feature = new Feature('name', '0|a|d');
$presenter = new FeaturePresenter($feature);

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

/**
Expand Down

0 comments on commit 01046bc

Please sign in to comment.