diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/tests/Item_Controller_Test.php | 4 |
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); } |