diff options
author | wei <> | 2006-07-28 06:24:40 +0000 |
---|---|---|
committer | wei <> | 2006-07-28 06:24:40 +0000 |
commit | 994065ffd524ade2db3de900226143f5123c5fb1 (patch) | |
tree | 35d760954194fdafe7a32e0c227265ec6112e974 /demos/time-tracker/tests/unit/CategoryDaoTestCase.php | |
parent | 5fc75a5f53fa07971b604c5318da5bf07379ef89 (diff) |
Update time-tracker
Diffstat (limited to 'demos/time-tracker/tests/unit/CategoryDaoTestCase.php')
-rw-r--r-- | demos/time-tracker/tests/unit/CategoryDaoTestCase.php | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|