Skip to content

Commit

Permalink
Remove unneeded Page factory call
Browse files Browse the repository at this point in the history
  • Loading branch information
musimana committed May 12, 2024
1 parent 57a09e6 commit e2f35d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/Browser/TestNavigation/HeaderNavigationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ public function testHeaderTitleLink(): void
/** Test the header navbar login link works. */
public function testNavbarLoginLink(): void
{
Page::factory()->aboutPage()->create();

$this->browse(fn (Browser $browser) => $browser
->visit(new Homepage)
->navigateViaHeader('@nav-login')
Expand Down

0 comments on commit e2f35d6

Please sign in to comment.