diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-17 19:26:22 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-17 19:26:22 -0800 |
commit | 53a17e3444e677dbb1878db68ffa1677511690c3 (patch) | |
tree | 0e521ac75620b07c4bffbe1c481f629456419443 /modules | |
parent | c13d5c35134fbdb637d32eaf721d90e0c3889739 (diff) |
Add album title in random_album().
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery_unit_test/helpers/test.php | 3 |
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(); } } |