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

ApiRestOpportunityTest Class Reference

Inheritance diagram for ApiRestOpportunityTest:
ApiRestTest ApiBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testGetOpportunity ()
 testDeleteOpportunity ()
 testCreateOpportunity ()
 testCreateOpportunityWithSpecificOwner ()
 testCreateOpportunityWithSpecificExplicitPermissions ()
 testUpdateOpportunity ()
 testListOpportunities ()
 testListOpportunityAttributes ()
 testUnprivilegedUserViewUpdateDeleteOpportunities ()
 testBasicSearchOpportunities ()
 testDynamicSearchOpportunities ()
 testNewSearchOpportunities ()
 testGetOpportunitiesThatAreRelatedWithContact ()
 testEditOpportunityWithIncompleteData ()
 testEditOpportunityWIthIncorrectDataType ()

Protected Member Functions

 getApiControllerClassName ()
 getModuleBaseApiUrl ()

Detailed Description

Test Opportunity related API functions.

Definition at line 40 of file ApiRestOpportunityTest.php.


Member Function Documentation

testDeleteOpportunity (  ) 

testGetOpportunity

Definition at line 74 of file ApiRestOpportunityTest.php.

testCreateOpportunity (  ) 

testGetOpportunity

Definition at line 102 of file ApiRestOpportunityTest.php.

testCreateOpportunityWithSpecificOwner (  ) 

testCreateOpportunity

Definition at line 226 of file ApiRestOpportunityTest.php.

testCreateOpportunityWithSpecificExplicitPermissions (  ) 

testCreateOpportunity

Definition at line 354 of file ApiRestOpportunityTest.php.

testUpdateOpportunity (  ) 

testCreateOpportunity

Definition at line 478 of file ApiRestOpportunityTest.php.

testListOpportunities (  ) 

testUpdateOpportunity

Definition at line 523 of file ApiRestOpportunityTest.php.

testUnprivilegedUserViewUpdateDeleteOpportunities (  ) 

testListOpportunities

Definition at line 572 of file ApiRestOpportunityTest.php.

testBasicSearchOpportunities (  ) 

testListOpportunities

Definition at line 689 of file ApiRestOpportunityTest.php.

testDynamicSearchOpportunities (  ) 

testBasicSearchOpportunities

Definition at line 826 of file ApiRestOpportunityTest.php.

testGetOpportunitiesThatAreRelatedWithContact (  ) 

Test get opportunities that are releted with contacts(MANY_MANY relationship) testDynamicSearchOpportunities

Definition at line 962 of file ApiRestOpportunityTest.php.


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