seed(ContentSeeder::class); View::share('PageList', Page::getCached() ->mapWithKeys(fn ($page) => [ $page->slug->value() => $page, ])); Cache::flush(); // WHEN $response = $this->post('/auth/email/resend', []); // THEN $response->assertStatus(302); }); it('can access get /auth/email/verify', function () { // GIVEN $this->seed(ContentSeeder::class); View::share('PageList', Page::getCached() ->mapWithKeys(fn ($page) => [ $page->slug->value() => $page, ])); Cache::flush(); // WHEN $response = $this->get('/auth/email/verify'); // THEN $response->assertStatus(302); }); it('can access get /auth/email/verify/1/1', function () { // GIVEN $this->seed(ContentSeeder::class); View::share('PageList', Page::getCached() ->mapWithKeys(fn ($page) => [ $page->slug->value() => $page, ])); Cache::flush(); // WHEN $response = $this->get('/auth/email/verify/1/1'); // THEN $response->assertStatus(302); }); });