From 700de57f69adba918593eb72a4ce69b520013f11 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sat, 17 Jul 2021 15:56:37 +0200 Subject: [PATCH] Add lastname for faked logged in member --- tests/TestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 6737608f..16dfc5f5 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -3,8 +3,8 @@ namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; -use Zoomyboy\LaravelNami\Nami; use Zoomyboy\LaravelNami\FakesNami; +use Zoomyboy\LaravelNami\Nami; use Zoomyboy\LaravelNami\NamiUser; abstract class TestCase extends BaseTestCase @@ -20,7 +20,7 @@ abstract class TestCase extends BaseTestCase public function login() { $this->fakeNamiMembers([ - [ 'gruppierungId' => 12399, 'vorname' => 'Max', 'id' => 999 ] + [ 'gruppierungId' => 12399, 'vorname' => 'Max', 'nachname' => '::lastname::', 'id' => 999 ] ]); $this->fakeNamiPassword(999, 'secret', [12399]);