fakeLogin('123') ->addSearch(123, ['entries_vorname' => '::firstname::', 'entries_nachname' => '::lastname::', 'entries_gruppierungId' => 1000]); auth()->loginNami([ 'mglnr' => 123, 'password' => 'secret', ]); return $this; } public function init(): self { Member::factory()->defaults()->create(); return $this; } }