Add lastname for faked logged in member

This commit is contained in:
philipp lang 2021-07-17 15:56:37 +02:00
parent e59610f596
commit 700de57f69
1 changed files with 2 additions and 2 deletions

View File

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