mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
- Renamed classes, methods and properties names in german
- All the controllers exends APIv1_Controller rather than REST_Controller - Codeceptions modified to be compliant to changes
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo('Test API call v1/studies/course/EnabledCourses');
|
||||
$I->amHttpAuthenticated("wu11e001", "1Q2W3E4R");
|
||||
$I->wantTo('Test API call v1/lehre/studiengang/AllForBewerbung');
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader('FHC-API-KEY', 'testapikey@fhcomplete.org');
|
||||
$I->sendGET('v1/studies/course/EnabledCourses');
|
||||
$I->sendGET('v1/lehre/studiengang/AllForBewerbung');
|
||||
$I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson([
|
||||
|
||||
Reference in New Issue
Block a user