summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/helpers/test.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery_unit_test/helpers/test.php')
-rw-r--r--modules/gallery_unit_test/helpers/test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery_unit_test/helpers/test.php b/modules/gallery_unit_test/helpers/test.php
index 30a87807..2fa12a23 100644
--- a/modules/gallery_unit_test/helpers/test.php
+++ b/modules/gallery_unit_test/helpers/test.php
@@ -24,7 +24,8 @@ class test_Core {
$album = ORM::factory("item");
$album->type = "album";
$album->parent_id = $parent ? $parent->id : 1;
- $album->name = "test_$rand";
+ $album->name = "name_$rand";
+ $album->title = "title_$rand";
return $album->save();
}
}