You are here

function NotificationsLiteTests::setUp in Notifications 7

Same name and namespace in other branches
  1. 6.4 tests/notifications_lite.test \NotificationsLiteTests::setUp()
  2. 6.2 tests/notifications_lite.test \NotificationsLiteTests::setUp()
  3. 6.3 tests/notifications_lite.test \NotificationsLiteTests::setUp()

Set up some required modules

Overrides NotificationsTestCase::setUp

File

tests/notifications_lite.test, line 18

Class

NotificationsLiteTests

Code

function setUp() {
  parent::setUp('messaging_simple', 'notifications_digest', 'notifications_lite');

  // Set some defaults: method simple, interval immediate
  variable_set('notifications_default_send_interval', 0);
  variable_set('notifications_default_send_method', 'simple');

  // Set fake site name for comparison after token replacement
  variable_set('site_name', 'Test Site');
}