summaryrefslogtreecommitdiff
path: root/tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php')
-rw-r--r--tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php b/tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php
index 75bbb2a4..85f1c944 100644
--- a/tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php
+++ b/tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php
@@ -11,6 +11,13 @@ class ActiveRecordDynamicCallTestCase extends UnitTestCase
TActiveRecordManager::getInstance()->setDbConnection($conn);
}
+ function test_multiple_field_and_or()
+ {
+ $finder = DepartmentRecord::finder();
+ $r2 = $finder->findAllByName_And_Description_Or_Active_Or_Order('Facilities', null, false, 1);
+ $this->assertNotNull($r2);
+ }
+
function test_dynamic_call()
{
$finder = DepartmentRecord::finder();
@@ -57,7 +64,6 @@ class ActiveRecordDynamicCallTestCase extends UnitTestCase
{
var_dump($param);
}
-
}
?> \ No newline at end of file