Update tests to reflect the new code that allows changing file and directory names

This commit is contained in:
Bharat Mediratta
2009-05-17 22:47:34 +00:00
parent 1c84472746
commit da9c170ba7
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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";