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 221 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters (  ) 

testUnsubscribeActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters NotSupportedException

Definition at line 241 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters (  ) 

testOptOutActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters NotSupportedException

Definition at line 261 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionThrowNotFoundExceptionForInvalidMarketingListId (  ) 

testManageSubscriptionsActionThrowNotSupportedExceptionForDecipherableHexadecimalHashWithMissingParameters NotFoundException

Definition at line 281 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowNotFoundExceptionForInvalidMarketingListId (  ) 

testSubscribeActionThrowNotFoundExceptionForInvalidMarketingListId NotFoundException

Definition at line 298 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptoutActionThrowNotFoundExceptionForInvalidMarketingListId (  ) 

testUnsubscribeActionThrowNotFoundExceptionForInvalidMarketingListId NotFoundException

Definition at line 315 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionDoesNotThrowNotFoundExceptionForInvalidMarketingListIdWithNoMarketingLists (  ) 

testOptoutActionThrowNotFoundExceptionForInvalidMarketingListId

Definition at line 331 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionThrowsNotFoundExceptionForInvalidPersonlId (  ) 

testManageSubscriptionsActionDoesNotThrowNotFoundExceptionForInvalidMarketingListIdWithNoMarketingLists NotFoundException

Definition at line 369 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowsNotFoundExceptionForInvalidPersonlId (  ) 

testSubscribeActionThrowsNotFoundExceptionForInvalidPersonlId NotFoundException

Definition at line 390 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutActionThrowsNotFoundExceptionForInvalidPersonlId (  ) 

testUnsubscribeActionThrowsNotFoundExceptionForInvalidPersonlId NotFoundException

Definition at line 411 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionThrowsNotFoundExceptionForInvalidPersonlId (  ) 

testOptOutActionThrowsNotFoundExceptionForInvalidPersonlId NotFoundException

Definition at line 432 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsAction (  ) 

testManageSubscriptionsActionThrowsNotFoundExceptionForInvalidPersonlId

Definition at line 452 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionToPrivateMarketingList (  ) 

testManageSubscriptionsAction

Definition at line 526 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionToPublicMarketingList (  ) 

testSubscribeActionToPrivateMarketingList

Definition at line 556 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionToPublicMarketingListAlreadyASubscriberOf (  ) 

testSubscribeActionToPublicMarketingList

Definition at line 600 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPublicMarketingListCreatesActivity (  ) 

testSubscribeActionToPublicMarketingListAlreadyASubscriberOf

Definition at line 643 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPrivateMarketingList (  ) 

testUnsubscribeActionToPublicMarketingListCreatesActivity

Definition at line 713 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPublicMarketingListAlreadyUnsubcribedOf (  ) 

testUnsubscribeActionToPrivateMarketingList

Definition at line 781 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPrivateMarketingListAlreadyUnsubscribedOf (  ) 

testUnsubscribeActionToPublicMarketingListAlreadyUnsubcribedOf

Definition at line 824 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPublicMarketingListNotEvenAMemberOf (  ) 

testUnsubscribeActionToPrivateMarketingListAlreadyUnsubscribedOf

Definition at line 858 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionToPrivateMarketingListNotEvenAMemberOf (  ) 

testUnsubscribeActionToPublicMarketingListNotEvenAMemberOf

Definition at line 903 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutAction (  ) 

testUnsubscribeActionToPrivateMarketingListNotEvenAMemberOf

Definition at line 936 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionAfterOptOutActionDisableOptOut (  ) 

testOptOutAction

Definition at line 1015 of file MarketingListsExternalControllerWalkthroughTest.php.

testUnsubscribeActionThrowsExitExceptionAfterRenderingPreviewView (  ) 

testSubscribeActionAfterOptOutActionDisableOptOut

Definition at line 1061 of file MarketingListsExternalControllerWalkthroughTest.php.

testSubscribeActionThrowsExitExceptionAfterRenderingPreviewView (  ) 

testUnsubscribeActionThrowsExitExceptionAfterRenderingPreviewView

Definition at line 1081 of file MarketingListsExternalControllerWalkthroughTest.php.

testOptOutActionThrowsExitExceptionAfterRenderingPreviewView (  ) 

testSubscribeActionThrowsExitExceptionAfterRenderingPreviewView

Definition at line 1101 of file MarketingListsExternalControllerWalkthroughTest.php.

testManageSubscriptionsActionThrowsExitExceptionAfterRenderingPreviewView (  ) 

testOptOutActionThrowsExitExceptionAfterRenderingPreviewView

Definition at line 1121 of file MarketingListsExternalControllerWalkthroughTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jan 24 07:10:27 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