From e543b055fbcfeca7f25f6c31696d420b035574df Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 14 May 2009 02:00:31 +0000 Subject: Updated to match r20797 --- core/tests/Photos_Controller_Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/tests') diff --git a/core/tests/Photos_Controller_Test.php b/core/tests/Photos_Controller_Test.php index 1c52a210..0a15a88e 100644 --- a/core/tests/Photos_Controller_Test.php +++ b/core/tests/Photos_Controller_Test.php @@ -29,7 +29,7 @@ class Photos_Controller_Test extends Unit_Test_Case { public function change_photo_test() { $controller = new Photos_Controller(); $root = ORM::factory("item", 1); - $photo = photo::create($root, DOCROOT . "core/tests/test.jpg", "test", "test", "test"); + $photo = photo::create($root, DOCROOT . "core/tests/test.jpg", "test.jpeg", "test", "test"); $orig_name = $photo->name; $_POST["name"] = "new name"; -- cgit v1.2.3