You are here

protected function RulesTestCase::setUp in Rules 7.2

Same name and namespace in other branches
  1. 8.3 d7-tests/rules_test_case.test \RulesTestCase::setUp()
  2. 6 rules_test/rules_test.test \RulesTestCase::setUp()

Overrides DrupalWebTestCase::setUp().

Overrides DrupalWebTestCase::setUp

File

tests/rules.test, line 27
Rules tests.

Class

RulesTestCase
Rules test cases.

Code

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