You are here

function rules_test_keep_rules_log in Rules 6

Makes sure the rules engine doesn't clean up the log, so that we can access it

1 call to rules_test_keep_rules_log()
RulesTestCase::setUp in rules_test/rules_test.test
Generates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…

File

rules_test/rules_test.module, line 27
Rules engine testing module

Code

function rules_test_keep_rules_log() {
  global $_rules_exec_log;
  if (!isset($_rules_exec_log)) {
    $_rules_exec_log = array();
  }
  $_rules_exec_log['rules_test_keep_log'] = 'rules_test_keep_log';
}