summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-02 14:33:31 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-02 14:33:31 -0800
commit7c03644777571105ac2ceaec4892bf5920de7283 (patch)
tree3b533ef7056b9782fddf66cb284b6fa2c82424c6 /modules
parent28597ba53354537704899e7ad9eb39bbd5718b21 (diff)
Update the expected response after modifying an album to match the
change I made in 20bd09ff004816ae152a2f890a24dc5e85741fac
Diffstat (limited to 'modules')
-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 fa4f101a..b6c6df47 100644
--- a/modules/gallery/tests/Photos_Controller_Test.php
+++ b/modules/gallery/tests/Photos_Controller_Test.php
@@ -49,8 +49,7 @@ class Photos_Controller_Test extends Unit_Test_Case {
$results = ob_get_contents();
ob_end_clean();
- $this->assert_equal(
- json_encode(array("result" => "success", "location" => "HTTP_REFERER")), $results);
+ $this->assert_equal(json_encode(array("result" => "success")), $results);
$this->assert_equal("new-slug", $photo->slug);
$this->assert_equal("new title", $photo->title);
$this->assert_equal("new description", $photo->description);