Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ApiBaseTest Class Reference

Inheritance diagram for ApiBaseTest:
ZurmoBaseTest BaseTest ApiRestTest ApiRestAccountAccountAffiliationTest ApiRestAccountContactAffiliationTest ApiRestAccountTest ApiRestContactStateTest ApiRestContactTest ApiRestCurrencyTest ApiRestCustomFieldTest ApiRestCustomModelActionTest ApiRestEmailMessageTest ApiRestGroupTest ApiRestLanguageTest ApiRestLeadTest ApiRestMeetingTest ApiRestNoteTest ApiRestOpportunityTest ApiRestPermissionTest ApiRestRoleTest ApiRestTaskTest ApiRestTestModelItem2Test ApiRestTestModelItemTest ApiRestUserTest ApiRestXmlAccountTest_Disabled

Public Member Functions

 setUp ()

Static Public Member Functions

static setUpBeforeClass ()

Protected Member Functions

 getApiControllerClassName ()
 getModuleBaseApiUrl ()
 getBaseApiUrl ()
 setupServerUrl ()
 isApiTestUrlConfigured ()
 getModelToApiDataUtilData (RedBeanModel $model)
 createApiCallWithRelativeUrl ($relativeUrl, $method, $headers, $data=array())
 deleteAllModelsAndRecordsFromReadPermissionTable ($modelClassName)

Static Protected Member Functions

static setRandomNonEveryoneNonAdministratorsGroup ()

Protected Attributes

 $serverUrl = ''

Static Protected Attributes

static $createUsersAndGroups = true
static $randomNonEveryoneNonAdministratorsGroup = null

Detailed Description

Base class to test API functions.

Definition at line 40 of file ApiBaseTest.php.


Member Function Documentation

deleteAllModelsAndRecordsFromReadPermissionTable ( modelClassName  )  [protected]

Cleanup models and read permission tables

Parameters:
$modelClassName 

Definition at line 136 of file ApiBaseTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 22 07:10:50 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8