function RulesIntegrationTestCase::setUp

Same name and namespace in other branches
  1. 8.x-3.x d7-tests/rules_integration_test_case.test \RulesIntegrationTestCase::setUp()

Overrides DrupalWebTestCase::setUp().

Parameters

...: List of modules to enable for the duration of the test. This can be either a single array or a variable number of string arguments.

Overrides DrupalWebTestCase::setUp

File

tests/rules.test, line 1390

Class

RulesIntegrationTestCase
Tests provided module integration.

Code

protected function setUp() {
    parent::setUp('rules', 'rules_test', 'php', 'path');
    RulesLog::logger()->clear();
    variable_set('rules_debug_log', TRUE);
}