Change "filename" to "name" in the edit album form. I'd rather have

consistency between field names than deal with underlying issues with
Forge bitching about the "name" property.
This commit is contained in:
Bharat Mediratta
2010-01-19 19:31:01 -08:00
parent afe2128bb0
commit e02675b730
5 changed files with 6 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ class Photos_Controller_Test extends Unit_Test_Case {
$controller = new Photos_Controller();
$photo = test::random_photo();
$_POST["filename"] = "new name.jpg";
$_POST["name"] = "new name.jpg";
$_POST["title"] = "new title";
$_POST["description"] = "new description";
$_POST["slug"] = "new-slug";
@@ -55,7 +55,7 @@ class Photos_Controller_Test extends Unit_Test_Case {
$controller = new Photos_Controller();
$photo = test::random_photo();
$_POST["filename"] = "new name.jpg";
$_POST["name"] = "new name.jpg";
$_POST["title"] = "new title";
$_POST["description"] = "new description";
$_POST["slug"] = "new slug";