assertTrue(true); } protected function getPackageProviders($app) { return [ NamiServiceProvider::class ]; } public function getAnnotations(): array { return []; } protected function setCredentials() { Config::set('nami.auth.mglnr', '11223'); Config::set('nami.auth.password', 'secret'); Config::set('nami.auth.groupid', '55555'); } public function login() { return [ 'https://nami.dpsg.de/ica/pages/login.jsp' => Http::response('', 200), 'https://nami.dpsg.de/ica/rest/nami/auth/manual/sessionStartup' => Http::response($this->successJson, 200) ]; } public function fakeJson($file) { return file_get_contents(__DIR__.'/json/'.$file); } public function fakeGenders() { return [ 'https://nami.dpsg.de/ica/rest/baseadmin/geschlecht' => Http::response($this->fakeJson('genders.json'), 200) ]; } }