You are here

function NotificationsTestCase::setUp in Notifications 7

Same name and namespace in other branches
  1. 6.4 tests/notifications_test_case.inc \NotificationsTestCase::setUp()

Set up some required modules

Overrides MessagingTestCase::setUp

6 calls to NotificationsTestCase::setUp()
NotificationsAnonymousTests::setUp in tests/notifications_anonymous.test
Set up some required modules
NotificationsBasicTests::setUp in tests/notifications_api.test
Set up some required modules
NotificationsContentTests::setUp in tests/notifications_content.test
Set up some required modules
NotificationsCustomTests::setUp in tests/notifications_custom.test
Set up some required modules
NotificationsLiteTests::setUp in tests/notifications_lite.test
Set up some required modules

... See full list

6 methods override NotificationsTestCase::setUp()
NotificationsAnonymousTests::setUp in tests/notifications_anonymous.test
Set up some required modules
NotificationsBasicTests::setUp in tests/notifications_api.test
Set up some required modules
NotificationsContentTests::setUp in tests/notifications_content.test
Set up some required modules
NotificationsCustomTests::setUp in tests/notifications_custom.test
Set up some required modules
NotificationsLiteTests::setUp in tests/notifications_lite.test
Set up some required modules

... See full list

File

tests/notifications_test_case.inc, line 14
Base class for Notifications Tests

Class

NotificationsTestCase
@file Base class for Notifications Tests

Code

function setUp() {
  $modules = func_get_args();
  $modules = array_unique(array_merge(array(
    'token',
    'messaging_template',
    'notifications',
  ), $modules));
  call_user_func_array(array(
    'parent',
    'setUp',
  ), $modules);
}