From da9c170ba7ad286808f2eb0d975c4a0c10b68107 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 17 May 2009 22:47:34 +0000 Subject: Update tests to reflect the new code that allows changing file and directory names --- core/tests/Photos_Controller_Test.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core/tests/Photos_Controller_Test.php') diff --git a/core/tests/Photos_Controller_Test.php b/core/tests/Photos_Controller_Test.php index 0a15a88e..71319315 100644 --- a/core/tests/Photos_Controller_Test.php +++ b/core/tests/Photos_Controller_Test.php @@ -32,6 +32,7 @@ class Photos_Controller_Test extends Unit_Test_Case { $photo = photo::create($root, DOCROOT . "core/tests/test.jpg", "test.jpeg", "test", "test"); $orig_name = $photo->name; + $_POST["filename"] = "test.jpeg"; $_POST["name"] = "new name"; $_POST["title"] = "new title"; $_POST["description"] = "new description"; -- cgit v1.2.3