diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-11-09 23:40:28 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-09 23:40:28 +0000 |
commit | e7155c09c53be09d84b85ad57a8dc58529c10672 (patch) | |
tree | e57b06b261c060bb7a1a9bc9433e3876c1d409c9 /core/tests | |
parent | aa437293e6e5404b3beb86a3d0801b509930201c (diff) |
Implement Item_Controller::put() and delete()
Adjust/simplify photo::create
Add image uploading to the scaffolding
Diffstat (limited to 'core/tests')
-rw-r--r-- | core/tests/Photo_Test.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |