mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-29 10:26:46 -04:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user