diff options
-rw-r--r-- | modules/gallery_unit_test/helpers/test.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery_unit_test/helpers/test.php b/modules/gallery_unit_test/helpers/test.php index aa8dda88..94dac22e 100644 --- a/modules/gallery_unit_test/helpers/test.php +++ b/modules/gallery_unit_test/helpers/test.php @@ -53,6 +53,10 @@ class test_Core { return identity::create_user($rand, $rand, $password, "$rand@rand.com"); } + static function random_group() { + return identity::create_group((string)rand()); + } + static function random_name($item=null) { $rand = "name_" . rand(); if ($item && $item->is_photo()) { |