Codeception v1 working

This commit is contained in:
paolo
2016-04-27 16:32:28 +02:00
parent 4146257917
commit 0be0280c28
4 changed files with 32 additions and 77 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ $I = new ApiTester($scenario);
$I->wantTo('Test API call v1/lehre/studienplan/Studienplaene');
$I->amHttpAuthenticated("admin", "1q2w3");
$I->haveHttpHeader('FHC-API-KEY', 'testapikey@fhcomplete.org');
$I->sendGET('v1/lehre/studienplan/Studienplaene', array('studiengang_kz' => 257));
$I->sendGET('v1/lehre/studienplan/Studienplaene', array('studiengang_kz' => 1));
$I->seeResponseCodeIs(200);
$I->seeResponseIsJson();
$I->seeResponseContainsJson([