From 53a17e3444e677dbb1878db68ffa1677511690c3 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 17 Jan 2010 19:26:22 -0800 Subject: Add album title in random_album(). --- modules/gallery_unit_test/helpers/test.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/gallery_unit_test') 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(); } } -- cgit v1.2.3