mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 08:52:21 +00:00
Codeception v1 working
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user