function RulesTestDataCase::setUp

Same name in other branches
  1. 8.x-3.x d7-tests/rules_test_data_case.test \RulesTestDataCase::setUp()

Overrides DrupalWebTestCase::setUp().

Overrides DrupalWebTestCase::setUp

File

tests/rules.test, line 975

Class

RulesTestDataCase
Test rules data wrappers.

Code

protected function setUp() {
    parent::setUp('rules', 'rules_test');
    variable_set('rules_debug_log', TRUE);
    // Make sure we don't ran over issues with the node_load static cache.
    entity_get_controller('node')->resetCache();
}