summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Albums_Controller_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-02 13:53:01 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-02 13:53:01 -0800
commit14b0ab08b4cab5b78bca3d5f63eb0f34cf788494 (patch)
treea31a592d3466ff112f8199fb18b0af3a94bca4fa /modules/gallery/tests/Albums_Controller_Test.php
parent4ab2400d18e1625cebbf94310bee265b272f6fba (diff)
Update the expected response after modifying an album to match the
change I made in 20bd09ff004816ae152a2f890a24dc5e85741fac
Diffstat (limited to 'modules/gallery/tests/Albums_Controller_Test.php')
-rw-r--r--modules/gallery/tests/Albums_Controller_Test.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/tests/Albums_Controller_Test.php b/modules/gallery/tests/Albums_Controller_Test.php
index 5f23f821..eec08868 100644
--- a/modules/gallery/tests/Albums_Controller_Test.php
+++ b/modules/gallery/tests/Albums_Controller_Test.php
@@ -20,7 +20,6 @@
class Albums_Controller_Test extends Unit_Test_Case {
public function setup() {
$this->_save = array($_POST, $_SERVER);
- $_SERVER["HTTP_REFERER"] = "HTTP_REFERER";
}
public function teardown() {
@@ -53,7 +52,7 @@ class Albums_Controller_Test extends Unit_Test_Case {
ob_end_clean();
$this->assert_equal(
- json_encode(array("result" => "success", "location" => "HTTP_REFERER")),
+ json_encode(array("result" => "success")),
$results);
$this->assert_equal("new title", $this->_album->title);
$this->assert_equal("new description", $this->_album->description);