You are here

function RulesTestCase::test_2 in Rules 6

File

rules_test/rules_test.test, line 36
Rules Testing Module - File containing test cases.

Class

RulesTestCase
@file Rules Testing Module - File containing test cases.

Code

function test_2() {
  $argument = array(
    'property_xy' => TRUE,
  );
  rules_invoke_rule_set('rules_test_2', $argument);
  $error = FALSE;
  $log = rules_test_show_log($error);
  $this
    ->assertFalse($error, t('Rule was not evaluated successfully.') . ' ' . $log);
}