From 2c221ea67d0512961beea8fbcb30b23865c16bb0 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 20 Dec 2006 03:15:04 +0000 Subject: Add quickstart docs for Active Record and SqlMap --- demos/time-tracker/tests/unit/ProjectDaoTestCase.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demos/time-tracker/tests/unit/ProjectDaoTestCase.php') diff --git a/demos/time-tracker/tests/unit/ProjectDaoTestCase.php b/demos/time-tracker/tests/unit/ProjectDaoTestCase.php index 3ccb28e2..22a01fca 100644 --- a/demos/time-tracker/tests/unit/ProjectDaoTestCase.php +++ b/demos/time-tracker/tests/unit/ProjectDaoTestCase.php @@ -113,11 +113,11 @@ class ProjectDaoTestCase extends BaseTestCase try { $this->projectDao->addUserToProject($project->ID, 'asd'); - $this->pass(); + $this->fail(); } - catch(TSqlMapQueryExecutionException $e) + catch(TDbException $e) { - $this->fail(); + $this->pass(); } } -- cgit v1.2.3