Fix the test, with the addition of the additional fields required by

album sort order change.
This commit is contained in:
Tim Almdal
2009-03-11 00:17:48 +00:00
parent 5c82ce33a2
commit c2db5d0fc9

View File

@@ -31,7 +31,10 @@ class Albums_Controller_Test extends Unit_Test_Case {
$_POST["name"] = "new name";
$_POST["title"] = "new title";
$_POST["description"] = "new description";
$_POST["column"] = "id";
$_POST["direction"] = "ASC";
$_POST["csrf"] = access::csrf_token();
$_POST["_method"] = "put";
access::allow(group::everybody(), "edit", $root);
ob_start();