From e2f35d61fa5eca6448c8e060bf095ac0804e8dff Mon Sep 17 00:00:00 2001 From: Graham Aitken Date: Sun, 12 May 2024 15:32:15 +0100 Subject: [PATCH] Remove unneeded Page factory call --- tests/Browser/TestNavigation/HeaderNavigationTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/Browser/TestNavigation/HeaderNavigationTest.php b/tests/Browser/TestNavigation/HeaderNavigationTest.php index 86826b1d..57e811ed 100644 --- a/tests/Browser/TestNavigation/HeaderNavigationTest.php +++ b/tests/Browser/TestNavigation/HeaderNavigationTest.php @@ -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')