Skip to content

Commit

Permalink
Update ConfigurableFeaturesUnitTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 8, 2024
1 parent ee0b04e commit 2a8c37d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

test('expect has method returns false when feature is disabled', function (string $method) {
Config::set('hyde.features', []);
\Hyde\Foundation\HydeKernel::setInstance(new \Hyde\Foundation\HydeKernel());

$this->assertFalse(Features::$method(), "Method '$method' should return false when feature is not enabled");
})->with([
Expand Down

0 comments on commit 2a8c37d

Please sign in to comment.