Skip to content

Commit

Permalink
Update ExampleTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
a1383n committed Jun 16, 2024
1 parent 23ca3d7 commit d5745b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Feature/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public function test_the_application_returns_a_successful_response(): void
{
$response = $this->get('/');

$response->assertSuccessful();
$this->assertTrue($response->isSuccessful() || $response->isRedirection() && $response->isRedirect('/admin'));
}
}

0 comments on commit d5745b7

Please sign in to comment.