From a83db20fe2dedf785bd7146c603ba5197f0e8d63 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 17 Mar 2009 18:09:21 +0000 Subject: Fix minor correctness issues --- core/tests/Photo_Helper_Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/tests/Photo_Helper_Test.php') diff --git a/core/tests/Photo_Helper_Test.php b/core/tests/Photo_Helper_Test.php index 2219a846..2f2488bf 100644 --- a/core/tests/Photo_Helper_Test.php +++ b/core/tests/Photo_Helper_Test.php @@ -35,7 +35,7 @@ class Photo_Helper_Test extends Unit_Test_Case { $this->assert_true(is_file($photo->resize_path()), "missing: {$photo->resize_path()}"); $this->assert_true(is_file($photo->thumb_path()), "missing: {$photo->thumb_path()}"); - $this->assert_equal($root, $photo->parent_id); // MPTT tests will cover other hierarchy checks + $this->assert_equal($root->id, $photo->parent_id); // MPTT tests cover other hierarchy checks $this->assert_equal("$rand.jpg", $photo->name); $this->assert_equal($rand, $photo->title); $this->assert_equal($rand, $photo->description); -- cgit v1.2.3