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

ApiRestLeadTest Class Reference

Inheritance diagram for ApiRestLeadTest:
ApiRestTest ApiBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testGetLead ()
 testDeleteLead ()
 testCreateLead ()
 testCreateLeadWithSpecificOwner ()
 testCreateLeadWithSpecificExplicitPermissions ()
 testUpdateLead ()
 testListLead ()
 testListLeadAttributes ()
 testUnprivilegedUserViewUpdateDeleteLead ()
 testBasicSearchLeads ()
 testDynamicSearchLeads ()
 testNewSearchLeads ()
 testEditLeadWithIncompleteData ()
 testEditLeadWIthIncorrectDataType ()
 testGetCreatedLeads ()
 testGetModifiedLeads ()
 testGetDeletedLeads ()

Protected Member Functions

 getApiControllerClassName ()
 getModuleBaseApiUrl ()

Detailed Description

Test Lead related API functions.

Definition at line 40 of file ApiRestLeadTest.php.


Member Function Documentation

testDeleteLead (  ) 

testGetLead

Definition at line 73 of file ApiRestLeadTest.php.

testCreateLead (  ) 

testGetLead

Definition at line 101 of file ApiRestLeadTest.php.

testCreateLeadWithSpecificOwner (  ) 

testCreateLead

Definition at line 268 of file ApiRestLeadTest.php.

testCreateLeadWithSpecificExplicitPermissions (  ) 

testCreateLead

Definition at line 436 of file ApiRestLeadTest.php.

testUpdateLead (  ) 

testCreateLead

Definition at line 603 of file ApiRestLeadTest.php.

testListLead (  ) 

testUpdateLead

Definition at line 648 of file ApiRestLeadTest.php.

testUnprivilegedUserViewUpdateDeleteLead (  ) 

testListLead

Definition at line 696 of file ApiRestLeadTest.php.

testBasicSearchLeads (  ) 

testUnprivilegedUserViewUpdateDeleteLead

Definition at line 820 of file ApiRestLeadTest.php.

testDynamicSearchLeads (  ) 

testBasicSearchLeads

Definition at line 959 of file ApiRestLeadTest.php.

testGetCreatedLeads (  ) 

Test if all newly created items was pulled from read permission tables via API. Please note that here we do not test if data are inserted in read permission tables correctly, that is part of read permission subscription tests

Exceptions:
NotFoundException 
NotImplementedException 
NotSupportedException 

Definition at line 1160 of file ApiRestLeadTest.php.

testGetModifiedLeads (  ) 

Test if all modified items was pulled via API correctly. Please note that here we do not test if data are inserted in read permission tables correctly, that is part of read permission subscription tests

Exceptions:
NotFoundException 

Definition at line 1311 of file ApiRestLeadTest.php.

testGetDeletedLeads (  ) 

Test if all deleted items was pulled from read permission tables via API. Please note that here we do not test if data are inserted in read permission tables correctly, that is part of read permission subscription tests

Exceptions:
NotFoundException 

Definition at line 1416 of file ApiRestLeadTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jun 15 07:10:52 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