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

MarketingListsExternalControllerWalkthroughTest Class Reference

Inheritance diagram for MarketingListsExternalControllerWalkthroughTest:
ZurmoWalkthroughBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testSubscribeActionThrowCHttpExceptionWithoutHash ()
 testUnsubscribeActionThrowCHttpExceptionWithoutHash ()
 testOptOutActionThrowCHttpExceptionWithoutHash ()
 testManageSubscriptionsActionThrowCHttpExceptionWithoutHash ()
 testSubscribeActionThrowNotSupportedExceptionWithNonHexadecimalHash ()
 testUnsubscribeActionThrowNotSupportedExceptionWithNonHexadecimalHash ()
 testOptOutActionThrowNotSupportedExceptionWithNonHexadecimalHash ()
 testManageSubscriptionsActionThrowNotSupportedExceptionWithNonHexadecimalHash ()
 testSubscribeActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash ()
 testUnsubscribeActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash ()
 testOptOutActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash ()
 testManageSubscriptionsActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash ()
 testSubscribeActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters ()
 testUnsubscribeActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters ()
 testOptOutActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters ()
 testManageSubscriptionsActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters ()
 testSubscribeActionThrowNotFoundExceptionForInvalidMarketingListId ()
 testUnsubscribeActionThrowNotFoundExceptionForInvalidMarketingListId ()
 testOptoutActionThrowNotFoundExceptionForInvalidMarketingListId ()
 testManageSubscriptionsActionDoesNotThrowNotFoundExceptionForInvalidMarketingListIdWithNoMarketingLists ()
 testSubscribeActionThrowsNotFoundExceptionForInvalidPersonlId ()
 testUnsubscribeActionThrowsNotFoundExceptionForInvalidPersonlId ()
 testOptOutActionThrowsNotFoundExceptionForInvalidPersonlId ()
 testManageSubscriptionsActionThrowsNotFoundExceptionForInvalidPersonlId ()
 testManageSubscriptionsAction ()
 testSubscribeActionToPrivateMarketingList ()
 testSubscribeActionToPublicMarketingList ()
 testSubscribeActionToPublicMarketingListAlreadyASubscriberOf ()
 testUnsubscribeActionToPublicMarketingListCreatesActivity ()
 testUnsubscribeActionToPrivateMarketingList ()
 testUnsubscribeActionToPublicMarketingListAlreadyUnsubcribedOf ()
 testUnsubscribeActionToPrivateMarketingListAlreadyUnsubscribedOf ()
 testUnsubscribeActionToPublicMarketingListNotEvenAMemberOf ()
 testUnsubscribeActionToPrivateMarketingListNotEvenAMemberOf ()
 testOptOutAction ()
 testSubscribeActionAfterOptOutActionDisableOptOut ()
 testUnsubscribeActionThrowsExitExceptionAfterRenderingPreviewView ()
 testSubscribeActionThrowsExitExceptionAfterRenderingPreviewView ()
 testOptOutActionThrowsExitExceptionAfterRenderingPreviewView ()
 testManageSubscriptionsActionThrowsExitExceptionAfterRenderingPreviewView ()

Static Public Member Functions

static setUpBeforeClass ()

Protected Attributes

 $subscribeUrl = '/marketingLists/external/subscribe'
 $unsubscribeUrl = '/marketingLists/external/unsubscribe'
 $optOutUrl = '/marketingLists/external/optOut'
 $manageSubscriptionsUrl = '/marketingLists/external/manageSubscriptions'

Detailed Description

Definition at line 37 of file MarketingListsExternalControllerWalkthroughTest.php.


Member Function Documentation

testSubscribeActionThrowCHttpExceptionWithoutHash (  ) 

CHttpException Your request is invalid.

Definition at line 58 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowCHttpExceptionWithoutHash (  ) 

testSubscribeActionThrowCHttpExceptionWithoutHash CHttpException Your request is invalid.

Definition at line 68 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutActionThrowCHttpExceptionWithoutHash (  ) 

testUnsubscribeActionThrowCHttpExceptionWithoutHash CHttpException Your request is invalid.

Definition at line 78 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionThrowCHttpExceptionWithoutHash (  ) 

testOptOutActionThrowCHttpExceptionWithoutHash CHttpException Your request is invalid.

Definition at line 88 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionThrowNotSupportedExceptionWithNonHexadecimalHash (  ) 

testManageSubscriptionsActionThrowCHttpExceptionWithoutHash NotSupportedException

Definition at line 97 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowNotSupportedExceptionWithNonHexadecimalHash (  ) 

testSubscribeActionThrowNotSupportedExceptionWithNonHexadecimalHash NotSupportedException

Definition at line 110 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutActionThrowNotSupportedExceptionWithNonHexadecimalHash (  ) 

testUnsubscribeActionThrowNotSupportedExceptionWithNonHexadecimalHash NotSupportedException

Definition at line 123 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionThrowNotSupportedExceptionWithNonHexadecimalHash (  ) 

testOptOutActionThrowNotSupportedExceptionWithNonHexadecimalHash NotSupportedException

Definition at line 136 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash (  ) 

testManageSubscriptionsActionThrowNotSupportedExceptionWithNonHexadecimalHash NotSupportedException

Definition at line 149 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash (  ) 

testSubscribeActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash NotSupportedException

Definition at line 162 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash (  ) 

testUnsubscribeActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash NotSupportedException

Definition at line 175 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash (  ) 

testOptOutActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash NotSupportedException

Definition at line 188 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters (  ) 

testManageSubscriptionsActionThrowNotSupportedExceptionForIndecipherableHexadecimalHash NotSupportedException

Definition at line 201 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters (  ) 

testSubscribeActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters NotSupportedException

Definition at line 219 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters (  ) 

testUnsubscribeActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters NotSupportedException

Definition at line 237 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters (  ) 

testOptOutActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters NotSupportedException

Definition at line 255 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionThrowNotFoundExceptionForInvalidMarketingListId (  ) 

testManageSubscriptionsActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters NotFoundException

Definition at line 273 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowNotFoundExceptionForInvalidMarketingListId (  ) 

testSubscribeActionThrowNotFoundExceptionForInvalidMarketingListId NotFoundException

Definition at line 290 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptoutActionThrowNotFoundExceptionForInvalidMarketingListId (  ) 

testUnsubscribeActionThrowNotFoundExceptionForInvalidMarketingListId NotFoundException

Definition at line 307 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionDoesNotThrowNotFoundExceptionForInvalidMarketingListIdWithNoMarketingLists (  ) 

testOptoutActionThrowNotFoundExceptionForInvalidMarketingListId

Definition at line 323 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionThrowsNotFoundExceptionForInvalidPersonlId (  ) 

testManageSubscriptionsActionDoesNotThrowNotFoundExceptionForInvalidMarketingListIdWithNoMarketingLists NotFoundException

Definition at line 361 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowsNotFoundExceptionForInvalidPersonlId (  ) 

testSubscribeActionThrowsNotFoundExceptionForInvalidPersonlId NotFoundException

Definition at line 382 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutActionThrowsNotFoundExceptionForInvalidPersonlId (  ) 

testUnsubscribeActionThrowsNotFoundExceptionForInvalidPersonlId NotFoundException

Definition at line 403 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionThrowsNotFoundExceptionForInvalidPersonlId (  ) 

testOptOutActionThrowsNotFoundExceptionForInvalidPersonlId NotFoundException

Definition at line 424 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsAction (  ) 

testManageSubscriptionsActionThrowsNotFoundExceptionForInvalidPersonlId

Definition at line 444 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionToPrivateMarketingList (  ) 

testManageSubscriptionsAction

Definition at line 518 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionToPublicMarketingList (  ) 

testSubscribeActionToPrivateMarketingList

Definition at line 548 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionToPublicMarketingListAlreadyASubscriberOf (  ) 

testSubscribeActionToPublicMarketingList

Definition at line 592 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPublicMarketingListCreatesActivity (  ) 

testSubscribeActionToPublicMarketingListAlreadyASubscriberOf

Definition at line 635 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPrivateMarketingList (  ) 

testUnsubscribeActionToPublicMarketingListCreatesActivity

Definition at line 705 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPublicMarketingListAlreadyUnsubcribedOf (  ) 

testUnsubscribeActionToPrivateMarketingList

Definition at line 773 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPrivateMarketingListAlreadyUnsubscribedOf (  ) 

testUnsubscribeActionToPublicMarketingListAlreadyUnsubcribedOf

Definition at line 816 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPublicMarketingListNotEvenAMemberOf (  ) 

testUnsubscribeActionToPrivateMarketingListAlreadyUnsubscribedOf

Definition at line 850 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPrivateMarketingListNotEvenAMemberOf (  ) 

testUnsubscribeActionToPublicMarketingListNotEvenAMemberOf

Definition at line 895 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutAction (  ) 

testUnsubscribeActionToPrivateMarketingListNotEvenAMemberOf

Definition at line 928 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionAfterOptOutActionDisableOptOut (  ) 

testOptOutAction

Definition at line 1007 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowsExitExceptionAfterRenderingPreviewView (  ) 

testSubscribeActionAfterOptOutActionDisableOptOut

Definition at line 1053 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionThrowsExitExceptionAfterRenderingPreviewView (  ) 

testUnsubscribeActionThrowsExitExceptionAfterRenderingPreviewView

Definition at line 1073 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutActionThrowsExitExceptionAfterRenderingPreviewView (  ) 

testSubscribeActionThrowsExitExceptionAfterRenderingPreviewView

Definition at line 1093 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionThrowsExitExceptionAfterRenderingPreviewView (  ) 

testOptOutActionThrowsExitExceptionAfterRenderingPreviewView

Definition at line 1113 of file MarketingListsExternalControllerWalkthroughTest.php.


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