function NotificationsLiteTests::setUp in Notifications 6.4
Same name and namespace in other branches
- 6.2 tests/notifications_lite.test \NotificationsLiteTests::setUp()
- 6.3 tests/notifications_lite.test \NotificationsLiteTests::setUp()
- 7 tests/notifications_lite.test \NotificationsLiteTests::setUp()
Set up some required modules
Overrides NotificationsTestCase::setUp
File
- tests/
notifications_lite.test, line 18
Class
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');
}