fakeNami(); } public function login() { $this->fakeNamiMembers([ [ 'gruppierungId' => 12399, 'vorname' => 'Max', 'id' => 999 ] ]); $this->fakeNamiPassword(999, 'secret', [12399]); $api = Nami::login(999, 'secret'); $this->be(NamiUser::fromPayload([ 'credentials' => [ 'mglnr' => 999, 'password' => 'secret' ] ])); } }