function RulesTestCase::test_1 in Rules 6
File
- rules_test/
rules_test.test, line 27 - Rules Testing Module - File containing test cases.
Class
- RulesTestCase
- @file Rules Testing Module - File containing test cases.
Code
function test_1() {
$argument = array(
'property_xy' => TRUE,
);
rules_invoke_rule_set('rules_test_1', $argument);
$error = FALSE;
$log = rules_test_show_log($error);
$this
->assertFalse($error, t('Rule was not evaluated successfully.') . ' ' . $log);
}