summaryrefslogtreecommitdiff
path: root/core/tests/Item_Controller_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-11 13:00:11 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-11 13:00:11 +0000
commitee413f5f39e1a172b48a1264b1d75b7f6986979d (patch)
treea174fd3b6cf91df87155b15dc2b2adc58abc91a4 /core/tests/Item_Controller_Test.php
parent1651b3fe8506cd629770e7642a2e1e1f88a9fc68 (diff)
Updated for recent Item_Controller API change
Diffstat (limited to 'core/tests/Item_Controller_Test.php')
-rw-r--r--core/tests/Item_Controller_Test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tests/Item_Controller_Test.php b/core/tests/Item_Controller_Test.php
index b52d8219..114664d1 100644
--- a/core/tests/Item_Controller_Test.php
+++ b/core/tests/Item_Controller_Test.php
@@ -24,7 +24,7 @@ class Item_Controller_Test extends Unit_Test_Case {
$_POST["title"] = "new title";
$_POST["description"] = "new description";
- $controller->post($album);
+ $controller->_post($album);
$this->assert_equal("new title", $album->title);
$this->assert_equal("new description", $album->description);
}
@@ -36,7 +36,7 @@ class Item_Controller_Test extends Unit_Test_Case {
$_POST["description"] = "item_description";
$_POST["__return"] = "item_description";
- $tihs->assert_equal("item_description", $controller->post($album));
+ $tihs->assert_equal("item_description", $controller->_post($album));
$this->assert_equal("item_title", $album->title);
$this->assert_equal("item_description", $album->description);
}