From ee413f5f39e1a172b48a1264b1d75b7f6986979d Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 11 Nov 2008 13:00:11 +0000 Subject: Updated for recent Item_Controller API change --- core/tests/Item_Controller_Test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') 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); } -- cgit v1.2.3