mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-03 05:09:28 +00:00
Dontknow
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo('Test the HTTP basic autentication whith HTTP GET and POST method and the API Keys');
|
||||
$I->amHttpAuthenticated("wu11e001", "1Q2W3E4R");
|
||||
$I->amHttpAuthenticated("admin", "1q2w3");
|
||||
$I->haveHttpHeader('FHC-API-KEY', 'testapikey@fhcomplete.org');
|
||||
$I->sendGET('Test/test');
|
||||
$I->seeResponseCodeIs(200);
|
||||
@@ -16,4 +16,4 @@ $I->seeResponseCodeIs(200);
|
||||
$I->seeResponseIsJson();
|
||||
$I->seeResponseContainsJson([
|
||||
'success' => true,
|
||||
'message' => 'API HTTP POST call test succeed']);
|
||||
'message' => 'API HTTP POST call test succeed']);
|
||||
|
||||
Reference in New Issue
Block a user