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

UserTestHelper Class Reference

Static Public Member Functions

static createBasicUser ($name)
static createBasicUserWithManager ($name, $manager)
static createBasicUserWithEmailAddress ($name)
static generateRandomUsername ($safe=false)
static generateBasicUsers ($count)
static getDefaultNotificationSettingsValuesForTestUser ()
static setDefaultNotificationSettingsForUser ($user)

Detailed Description

Definition at line 37 of file UserTestHelper.php.


Member Function Documentation

static getDefaultNotificationSettingsValuesForTestUser (  )  [static]

Get default notifications settings for test user All notifications are enabled by default. This is equivalent to the state when we had only 'turnOffEmailNotifications' which was set to false by default

Parameters:
User $user

Definition at line 124 of file UserTestHelper.php.

static setDefaultNotificationSettingsForUser ( user  )  [static]

Set default notifications settings to be all enabled

Parameters:
User $user

Definition at line 141 of file UserTestHelper.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:11:05 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