summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-03 01:11:28 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-03 01:11:28 -0700
commitdcdd44109b13a2cd2b29884edb6090e970178f32 (patch)
tree3b8462dc0c86001efb7c1ee68c9a29adda86586f /modules/gallery
parent41e3773417a78949f44f463b28c41d55413c850b (diff)
fix the expected return value of photos controller
Diffstat (limited to 'modules/gallery')
-rw-r--r--modules/gallery/tests/Photos_Controller_Test.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/tests/Photos_Controller_Test.php b/modules/gallery/tests/Photos_Controller_Test.php
index 5c4802c2..ac5ecdfd 100644
--- a/modules/gallery/tests/Photos_Controller_Test.php
+++ b/modules/gallery/tests/Photos_Controller_Test.php
@@ -50,8 +50,7 @@ class Photos_Controller_Test extends Unit_Test_Case {
ob_end_clean();
$this->assert_equal(
- json_encode(array("result" => "success",
- "location" => "http://./index.php/test.jpeg")),
+ json_encode(array("result" => "success")),
$results);
$this->assert_equal("new title", $this->_photo->title);
$this->assert_equal("new description", $this->_photo->description);