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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php b/tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php
index 85f1c944..07e810aa 100644
--- a/tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php
+++ b/tests/simple_unit/ActiveRecord/ActiveRecordDynamicCallTestCase.php
@@ -40,7 +40,7 @@ class ActiveRecordDynamicCallTestCase extends UnitTestCase
$rs = $finder->findByNameAndActive('Marketing');
$this->fail();
}
- catch(TActiveRecordException $e)
+ catch(TDbException $e)
{
$this->pass();
}