ApiRestAccountTest Class Reference

Inheritance diagram for ApiRestAccountTest:
ApiRestTest ApiBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testGetAccount ()
 testDeleteAccount ()
 testCreateAccount ()
 testCreateAccountWithSpecificOwner ()
 testCreateAccountWithSpecificExplicitPermissions ()
 testUpdateAccount ()
 testListAccounts ()
 testListAccountAttributes ()
 testUnprivilegedUserViewUpdateDeleteAcounts ()
 testBasicSearchAccounts ()
 testDynamicSearchAccounts ()
 testNewSearchAccounts ()
 testCreateWithRelations ()
 testUpdateWithRelations ()
 testEditAccountWithIncompleteData ()
 testEditAccountWIthIncorrectDataType ()
 testNotAllowedGuestAction ()
 testCreateWithScenario ()
 testUpdateWithScenario ()
 testGetCreatedAccounts ()
 testGetModifiedAccounts ()
 testGetDeletedAccounts ()

Protected Member Functions

 getApiControllerClassName ()
 getModuleBaseApiUrl ()

Detailed Description

Test Account related API functions.

Definition at line 40 of file ApiRestAccountTest.php.


Member Function Documentation

testDeleteAccount (  ) 

testGetAccount

Definition at line 74 of file ApiRestAccountTest.php.

testCreateAccountWithSpecificOwner (  ) 

testCreateAccount

Definition at line 243 of file ApiRestAccountTest.php.

testCreateAccountWithSpecificExplicitPermissions (  ) 

testCreateAccount

Definition at line 391 of file ApiRestAccountTest.php.

testUpdateAccount (  ) 

testCreateAccountWithSpecificOwner

Definition at line 539 of file ApiRestAccountTest.php.

testListAccounts (  ) 

testUpdateAccount

Definition at line 585 of file ApiRestAccountTest.php.

testUnprivilegedUserViewUpdateDeleteAcounts (  ) 

testListAccounts

Definition at line 633 of file ApiRestAccountTest.php.

testBasicSearchAccounts (  ) 

testUnprivilegedUserViewUpdateDeleteAcounts

Definition at line 750 of file ApiRestAccountTest.php.

testDynamicSearchAccounts (  ) 

testBasicSearchAccounts

Definition at line 884 of file ApiRestAccountTest.php.

testUpdateWithRelations (  ) 

testCreateWithRelations

Definition at line 1084 of file ApiRestAccountTest.php.

testGetCreatedAccounts (  ) 

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 1356 of file ApiRestAccountTest.php.

testGetModifiedAccounts (  ) 

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 1485 of file ApiRestAccountTest.php.

testGetDeletedAccounts (  ) 

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 1582 of file ApiRestAccountTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Nov 14 07:10:52 2019