From b090d280a9d4c68a386ac503e3d95f039bc5f920 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Tue, 30 Aug 2022 23:42:21 +0200 Subject: [PATCH] fixed member IndexTest --- tests/Feature/Member/IndexTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/Member/IndexTest.php b/tests/Feature/Member/IndexTest.php index 30fa29ce..53f94989 100644 --- a/tests/Feature/Member/IndexTest.php +++ b/tests/Feature/Member/IndexTest.php @@ -38,7 +38,7 @@ class IndexTest extends TestCase 'version' => 40, ]); $this->withoutExceptionHandling(); - $this->login(); + $this->login()->loginNami(); Member::factory()->defaults()->has(CourseMember::factory()->for(Course::factory()), 'courses')->create(['firstname' => '::firstname::']); $response = $this->get('/member'); @@ -50,7 +50,7 @@ class IndexTest extends TestCase public function testItShowsEfzForEfzMembership(): void { $this->withoutExceptionHandling(); - $this->login(); + $this->login()->loginNami(); $member = Member::factory() ->defaults() ->has(Membership::factory()->for(Subactivity::factory())->for(Activity::factory()->state(['has_efz' => true])))