diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-02-27 09:10:35 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-02-27 09:10:35 -0800 |
commit | ad502513b0ab465cb7578589fdee104edc0e8599 (patch) | |
tree | f7dd7fa36887727961abd56ff11c25b239327f62 /modules/gallery/tests/File_Proxy_Controller_Test.php | |
parent | 81011785aa8bbaad6dcfe5bb44a247cad778ed75 (diff) | |
parent | 251e9d5c8f727b886676e010481a6090ddac028c (diff) |
Merge pull request #156 from shadlaws/fix_2010
#2010 - Revise item::find_by_path to search for jpg-converted items.
Diffstat (limited to 'modules/gallery/tests/File_Proxy_Controller_Test.php')
-rw-r--r-- | modules/gallery/tests/File_Proxy_Controller_Test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/tests/File_Proxy_Controller_Test.php b/modules/gallery/tests/File_Proxy_Controller_Test.php index 562100e4..06068d62 100644 --- a/modules/gallery/tests/File_Proxy_Controller_Test.php +++ b/modules/gallery/tests/File_Proxy_Controller_Test.php @@ -66,7 +66,7 @@ class File_Proxy_Controller_Test extends Gallery_Unit_Test_Case { public function movie_thumbnails_are_jpgs_test() { $movie = test::random_movie(); $name = legal_file::change_extension($movie->name, "jpg"); - $_SERVER["REQUEST_URI"] = url::file("var/thumbs/{$movie->name}"); + $_SERVER["REQUEST_URI"] = url::file("var/thumbs/$name"); $controller = new File_Proxy_Controller(); $this->assert_same($movie->thumb_path(), $controller->__call("", array())); } |