summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-19 03:39:12 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-19 03:39:12 +0000
commit89bb3c42f713ace310b64d7e1c9ce8aebc8fc373 (patch)
tree5e9e558e41706d9c295e8be4f1b1dcd4f38ea921
parent20a0700fcb161294354dabdecc899458b637c782 (diff)
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.
-rw-r--r--core/tests/Photo_Helper_Test.php1
1 files changed, 1 insertions, 0 deletions
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);