diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-17 22:47:34 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-17 22:47:34 +0000 |
commit | da9c170ba7ad286808f2eb0d975c4a0c10b68107 (patch) | |
tree | c343de2c4f3fd54f21aa2f1838a2f67b3579bd64 /core/tests | |
parent | 1c84472746c719c9cc496c9c7895060c135fd75c (diff) |
Update tests to reflect the new code that allows changing file and directory names
Diffstat (limited to 'core/tests')
-rw-r--r-- | core/tests/Albums_Controller_Test.php | 1 | ||||
-rw-r--r-- | core/tests/Photos_Controller_Test.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/core/tests/Albums_Controller_Test.php b/core/tests/Albums_Controller_Test.php index 33d6b896..ef1fac77 100644 --- a/core/tests/Albums_Controller_Test.php +++ b/core/tests/Albums_Controller_Test.php @@ -32,6 +32,7 @@ class Albums_Controller_Test extends Unit_Test_Case { $album = album::create($root, "test", "test", "test"); $orig_name = $album->name; + $_POST["dirname"] = "test"; $_POST["name"] = "new name"; $_POST["title"] = "new title"; $_POST["description"] = "new description"; 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"; |