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

NotificationTest Class Reference

Inheritance diagram for NotificationTest:
ZurmoBaseTest BaseTest

Public Member Functions

 testGetCountByUser ()
 testNotification ()
 testNotificationMessage ()
 testGetCountByTypeAndUser ()
 testNonAdminCanCreateNotificationsAndMessages ()
 testRelationsBetweenNotificationAndNotificationMessage ()
 testDeleteByTypeAndUser ()

Static Public Member Functions

static setUpBeforeClass ()

Detailed Description

Definition at line 37 of file NotificationTest.php.


Member Function Documentation

testNotification (  ) 

testGetCountByUser

Definition at line 71 of file NotificationTest.php.

testNotificationMessage (  ) 

testNotification

Definition at line 91 of file NotificationTest.php.

testGetCountByTypeAndUser (  ) 

testNotificationMessage

Definition at line 111 of file NotificationTest.php.

testNonAdminCanCreateNotificationsAndMessages (  ) 

testGetCountByTypeAndUser

Definition at line 152 of file NotificationTest.php.

testRelationsBetweenNotificationAndNotificationMessage (  ) 

testNonAdminCanCreateNotificationsAndMessages

  • Add back in if it is possible to get the NotificationMessages to Notifications as RedBeanModel::OWNED //Currently it is not working and cause $this->assertEquals(2, $message->notifications->count()); to return 0. When removing a notificationMessage with notifications, the notifications should be removed too. $this->assertEquals(8, Notification::getCount()); $message->delete(); $this->assertEquals(3, Notification::getCount());

Definition at line 180 of file NotificationTest.php.

testDeleteByTypeAndUser (  ) 

testRelationsBetweenNotificationAndNotificationMessage

Definition at line 232 of file NotificationTest.php.


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