Check permissions

This commit is contained in:
paolo
2016-04-22 16:31:46 +02:00
parent f6f533a23b
commit 18df562208
9 changed files with 27 additions and 18 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
$I = new ApiTester($scenario);
$I->wantTo('Test API call v1/nation/All');
$I->wantTo('Test API call v1/nation All and FederalState');
$I->amHttpAuthenticated("wu11e001", "1Q2W3E4R");
$I->haveHttpHeader('FHC-API-KEY', 'testapikey@fhcomplete.org');
$I->sendGET('v1/nation/All');
+1 -1
View File
@@ -1,7 +1,7 @@
<?php
$I = new ApiTester($scenario);
$I->wantTo('Test API call v1/person/person/Person by person_id');
$I->wantTo('Test API call v1/person/person/Person');
$I->amHttpAuthenticated("wu11e001", "1Q2W3E4R");
$I->haveHttpHeader('FHC-API-KEY', 'testapikey@fhcomplete.org');
$I->sendGET('v1/person/person/Person', array('person_id' => 62788));