fakeNami(); TestResponse::mixin(new InertiaMixin()); } public function login(): void { app(FakeBackend::class) ->fakeLogin('123') ->addSearch(123, ['entries_vorname' => '::firstname::', 'entries_nachname' => '::lastname::', 'entries_gruppierungId' => 1000]); $this->post('/login', [ 'mglnr' => 123, 'password' => 'secret', ]); } }