From 89bb3c42f713ace310b64d7e1c9ce8aebc8fc373 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 19 Nov 2008 03:39:12 +0000 Subject: Update the unit test for mime types. Can't test it right now because routing is broken for the test framework so we have to fix that first. --- core/tests/Photo_Helper_Test.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/tests/Photo_Helper_Test.php b/core/tests/Photo_Helper_Test.php index 99c8ed34..bef38a12 100644 --- a/core/tests/Photo_Helper_Test.php +++ b/core/tests/Photo_Helper_Test.php @@ -34,6 +34,7 @@ class Photo_Helper_Test extends Unit_Test_Case { $this->assert_equal("$rand.jpg", $photo->name); $this->assert_equal($rand, $photo->title); $this->assert_equal($rand, $photo->description); + $this->assert_equal("image/jpeg", $photo->mime_type); $this->assert_equal($photo->parent()->right - 2, $photo->left); $this->assert_equal($photo->parent()->right - 1, $photo->right); -- cgit v1.2.3