summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-11 00:17:48 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-11 00:17:48 +0000
commitc2db5d0fc956785eca032a340939c8aac3f2d34a (patch)
treed8571f1c7af5208423fc3dc23b4eaba3f5eceae8
parent5c82ce33a21d309a58413106cc8910a2704137ee (diff)
Fix the test, with the addition of the additional fields required by
album sort order change.
-rw-r--r--core/tests/Albums_Controller_Test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/tests/Albums_Controller_Test.php b/core/tests/Albums_Controller_Test.php
index 57a5bf64..b43ae01b 100644
--- a/core/tests/Albums_Controller_Test.php
+++ b/core/tests/Albums_Controller_Test.php
@@ -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();