You are here

function NotificationsContentTests::setUp in Notifications 7

Same name and namespace in other branches
  1. 6.4 tests/notifications_content.test \NotificationsContentTests::setUp()
  2. 6 tests/notifications_content.test \NotificationsContentTests::setUp()
  3. 6.2 tests/notifications_content.test \NotificationsContentTests::setUp()
  4. 6.3 tests/notifications_content.test \NotificationsContentTests::setUp()

Set up some required modules

Overrides NotificationsTestCase::setUp

File

tests/notifications_content.test, line 21

Class

NotificationsContentTests

Code

function setUp() {
  parent::setUp('messaging_mail', 'notifications_content', 'notifications_ui', 'comment');

  // Set some defaults
  // Default send interval will be: immediately
  variable_set('notifications_default_send_interval', 0);
  variable_set('notifications_default_send_method', 'debug');
}