From c8aa9ed440f698bc725b21b2808af88001aaacee Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 28 May 2009 01:58:41 -0700 Subject: Update tests to reflect cache-buster param on thumbnail urls. --- modules/gallery/tests/Album_Helper_Test.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/gallery/tests/Album_Helper_Test.php') diff --git a/modules/gallery/tests/Album_Helper_Test.php b/modules/gallery/tests/Album_Helper_Test.php index 80afa8d1..2080ef30 100644 --- a/modules/gallery/tests/Album_Helper_Test.php +++ b/modules/gallery/tests/Album_Helper_Test.php @@ -49,7 +49,8 @@ class Album_Helper_Test extends Unit_Test_Case { $rand = rand(); $root = ORM::factory("item", 1); $album = album::create($root, $rand, $rand, $rand); - $this->assert_equal("http://./var/thumbs/$rand/.album.jpg", $album->thumb_url()); + $this->assert_equal( + "http://./var/thumbs/$rand/.album.jpg?m={$album->updated}", $album->thumb_url()); } public function resize_url_test() { -- cgit v1.2.3