summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Albums_Controller_Test.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-23 10:01:40 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-23 10:01:40 -0700
commitd0186436de5b282490779a6add014f5f31bd8834 (patch)
treea4c97e4147b6da9c44db2d43fa3372682be0ae6b /modules/gallery/tests/Albums_Controller_Test.php
parente3d6920cd9fdec948ebd5d2954260c67c6aff145 (diff)
parentaa85d27eab10b47f7c7cfc5bfeb26f41baed8753 (diff)
Merge branch 'master' into talmdal_dev
Conflicts: modules/gallery/tests/Albums_Controller_Test.php modules/user/helpers/user.php
Diffstat (limited to 'modules/gallery/tests/Albums_Controller_Test.php')
-rw-r--r--modules/gallery/tests/Albums_Controller_Test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/tests/Albums_Controller_Test.php b/modules/gallery/tests/Albums_Controller_Test.php
index b85b5258..5974c6f9 100644
--- a/modules/gallery/tests/Albums_Controller_Test.php
+++ b/modules/gallery/tests/Albums_Controller_Test.php
@@ -43,7 +43,7 @@ class Albums_Controller_Test extends Unit_Test_Case {
$_POST["column"] = "weight";
$_POST["direction"] = "ASC";
$_POST["csrf"] = access::csrf_token();
- $_POST["slug"] = "new_name";
+ $_POST["slug"] = "new-name";
$_POST["_method"] = "put";
access::allow(identity::everybody(), "edit", $root);
@@ -53,7 +53,7 @@ class Albums_Controller_Test extends Unit_Test_Case {
ob_end_clean();
$this->assert_equal(
- json_encode(array("result" => "success")),
+ json_encode(array("result" => "success", "location" => "")),
$results);
$this->assert_equal("new title", $this->_album->title);
$this->assert_equal("new description", $this->_album->description);