summaryrefslogtreecommitdiff
path: root/modules/comment/tests/Comment_Event_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-27 22:34:11 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-27 22:34:11 -0800
commit4b32a71afc7650fe7bdd02ba384c8914f60538f3 (patch)
tree66fea701b9324c1de79c31c548b643f331566223 /modules/comment/tests/Comment_Event_Test.php
parentcfbbf9ef606094868ccbd25ccf65e1a6f610528b (diff)
Convert back to using ORM::factory(..., $id) instead of calling where().
Diffstat (limited to 'modules/comment/tests/Comment_Event_Test.php')
-rw-r--r--modules/comment/tests/Comment_Event_Test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/tests/Comment_Event_Test.php b/modules/comment/tests/Comment_Event_Test.php
index 27272055..08f55b3f 100644
--- a/modules/comment/tests/Comment_Event_Test.php
+++ b/modules/comment/tests/Comment_Event_Test.php
@@ -30,6 +30,6 @@ class Comment_Event_Test extends Gallery_Unit_Test_Case {
$album->delete();
- $this->assert_false(ORM::factory("comment")->where("id", "=", $comment->id)->find()->loaded());
+ $this->assert_false(ORM::factory("comment", $comment->id)->loaded());
}
}