mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-08 15:49:28 +00:00
d96a0e98d5
- Updated the api test suite - Added the script generate.php to automatically generate the test cases for the controllers
6 lines
180 B
Smarty
6 lines
180 B
Smarty
<?php
|
|
|
|
$I = new ApiTester($scenario);
|
|
$I->wantTo("Test API call _CALL_");
|
|
$I->amHttpAuthenticated("admin", "1q2w3");
|
|
$I->haveHttpHeader("FHC-API-KEY", "testapikey@fhcomplete.org"); |