You are here

function Messaging_API_Tests::setUp in Messaging 7

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

Set up some required modules

Overrides MessagingTestCase::setUp

File

tests/messaging_api.test, line 20

Class

Messaging_API_Tests

Code

function setUp() {
  parent::setUp('messaging_simple', 'messaging_mail');
  variable_set('messaging_method_simple', array(
    'filter' => 0,
  ));
  variable_set('messaging_method_mail', array(
    'filter' => 0,
  ));
}