From e7155c09c53be09d84b85ad57a8dc58529c10672 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 9 Nov 2008 23:40:28 +0000 Subject: Implement Item_Controller::put() and delete() Adjust/simplify photo::create Add image uploading to the scaffolding --- core/tests/Photo_Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/tests') diff --git a/core/tests/Photo_Test.php b/core/tests/Photo_Test.php index cc4921c0..248ebee6 100644 --- a/core/tests/Photo_Test.php +++ b/core/tests/Photo_Test.php @@ -48,7 +48,7 @@ class Photo_Test extends Unit_Test_Case { public function create_photo_with_no_extension_test() { try { - photo::create(1, "unknown_file", "name", "title", "description"); + photo::create(1, "/tmp", "name", "title", "description"); $this->assert_false("should fail with an exception"); } catch (Exception $e) { // pass -- cgit v1.2.3