summaryrefslogtreecommitdiff
path: root/core/tests/Photos_Controller_Test.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/tests/Photos_Controller_Test.php')
-rw-r--r--core/tests/Photos_Controller_Test.php1
1 files changed, 1 insertions, 0 deletions
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";