From 994065ffd524ade2db3de900226143f5123c5fb1 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 28 Jul 2006 06:24:40 +0000 Subject: Update time-tracker --- demos/time-tracker/tests/unit/CategoryDaoTestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/time-tracker/tests/unit/CategoryDaoTestCase.php') diff --git a/demos/time-tracker/tests/unit/CategoryDaoTestCase.php b/demos/time-tracker/tests/unit/CategoryDaoTestCase.php index 53ed9c3e..4b13a948 100644 --- a/demos/time-tracker/tests/unit/CategoryDaoTestCase.php +++ b/demos/time-tracker/tests/unit/CategoryDaoTestCase.php @@ -125,11 +125,11 @@ class CategoryDaoTestCase extends BaseTestCase try { $this->categoryDao->addNewCategory($category); - $this->fail(); + $this->pass(); } catch(TSqlMapQueryExecutionException $e) { - $this->pass(); + $this->fail(); } $check = $this->categoryDao->getCategoryByID(1); $this->assertEqual($category, $check); -- cgit v1.2.3