diff options
author | wei <> | 2007-02-12 12:46:11 +0000 |
---|---|---|
committer | wei <> | 2007-02-12 12:46:11 +0000 |
commit | fd4b8d9f45d1707035021bc19b8d5bc17ede66ce (patch) | |
tree | 093b8b3f92d4d6421f19a6d1e7c8211817f3d51d /tests/simple_unit/ActiveRecord | |
parent | f4c525abc3d4d3f3eecf1019770936e4ca39fd62 (diff) |
Add IBM DB2 driver for active record.
Diffstat (limited to 'tests/simple_unit/ActiveRecord')
-rw-r--r-- | tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php | 8 |
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 |