Skip to content

Commit ed86b9a

Browse files
committed
Update test names to be clearer
1 parent 626ff0f commit ed86b9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/framework/tests/Unit/ConfigurableFeaturesUnitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
$this->needsKernel();
1212
});
1313

14-
test('expect has method returns false when feature is disabled', function (Feature $feature) {
14+
test('has feature method returns false when feature is disabled', function (Feature $feature) {
1515
$method = "has$feature->name";
1616

1717
Config::set('hyde.features', []);
@@ -20,7 +20,7 @@
2020
$this->assertFalse(Features::$method(), "Method '$method' should return false when feature is not enabled");
2121
})->with(Feature::cases())->covers(Hyde\Facades\Features::class);
2222

23-
test('expect has method returns true when feature is enabled', function (Feature $feature) {
23+
test('has feature method returns true when feature is enabled', function (Feature $feature) {
2424
$method = "has$feature->name";
2525

2626
Config::set('hyde.features', [$feature]);

0 commit comments

Comments
 (0)