wantTo('Test API call v1/nation All and FederalState'); $I->amHttpAuthenticated("admin", "1q2w3"); $I->haveHttpHeader('FHC-API-KEY', 'testapikey@fhcomplete.org'); $I->sendGET('v1/nation/All'); $I->seeResponseCodeIs(200); $I->seeResponseIsJson(); $I->seeResponseContainsJson([ 'success' => TRUE, 'message' => 'Nation found']); $I->sendGET('v1/nation/Bundesland'); $I->seeResponseCodeIs(200); $I->seeResponseIsJson(); $I->seeResponseContainsJson([ 'success' => TRUE, 'message' => 'Bundesland found']);