File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/framework/tests/Unit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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 ' , []);
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 ]);
You can’t perform that action at this time.
0 commit comments