mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-23 07:15:50 -04:00
Update tests to reflect the new code that allows changing file and directory names
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user