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])))