summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Photo_Helper_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-28 02:36:36 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-28 02:36:36 -0700
commitf56e095aeb6e5544360136a48373300f3cecb715 (patch)
treeecbe0c63ccd93aeb515bb32036c24f1f3f64e81d /modules/gallery/tests/Photo_Helper_Test.php
parent8c3135ef723bf494756b44247342af6c8cf6648b (diff)
parent1a095fffe50437dbe7814c52886a58b6309ce8eb (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/tests/Photo_Helper_Test.php')
-rw-r--r--modules/gallery/tests/Photo_Helper_Test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/tests/Photo_Helper_Test.php b/modules/gallery/tests/Photo_Helper_Test.php
index 2a6693e1..cc1f20da 100644
--- a/modules/gallery/tests/Photo_Helper_Test.php
+++ b/modules/gallery/tests/Photo_Helper_Test.php
@@ -69,7 +69,7 @@ class Photo_Helper_Test extends Unit_Test_Case {
$rand = rand();
$root = ORM::factory("item", 1);
$photo = photo::create($root, MODPATH . "gallery/tests/test.jpg", "$rand.jpg", $rand, $rand);
- $this->assert_equal("http://./var/thumbs/{$rand}.jpg", $photo->thumb_url());
+ $this->assert_equal("http://./var/thumbs/{$rand}.jpg?m={$photo->updated}", $photo->thumb_url());
}
public function resize_url_test() {