Skip to content

Commit 1e2ab92

Browse files
committed
Update tests
1 parent 4e45b91 commit 1e2ab92

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Feature/DeveloperLoginsControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function test_an_exception_is_thrown_when_the_email_is_not_registered():
5252
public function test_403_is_returned_when_plugin_is_disabled(): void
5353
{
5454
FilamentDeveloperLoginsPlugin::current()
55-
->enabled(false);
55+
->enabled();
5656

5757
$user = TestUser::factory()->create([
5858
'email' => 'developer@dutchcodingcompany.com',

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected function registerTestPanels(): void
5555
])
5656
->plugins([
5757
FilamentDeveloperLoginsPlugin::make()
58-
->enabled()
58+
->enabled(true)
5959
->users([
6060
'Administrator' => 'developer@dutchcodingcompany.com',
6161
])

0 commit comments

Comments
 (0)