summaryrefslogtreecommitdiff
path: root/modules/gallery/tests/Albums_Controller_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-04-25 23:26:43 -0700
committerBharat Mediratta <bharat@menalto.com>2011-04-25 23:26:43 -0700
commitcbd04e1ae02491ab4c213fe03d62d12ca1546251 (patch)
tree764445de9000c7fbd33f647dd24bd021e71c88e0 /modules/gallery/tests/Albums_Controller_Test.php
parent8814d7742d6689ce03bc3393e9ff436f31f2b58b (diff)
Move random::string() to be test::random_string() and have it return a
random string of any length. Also introduce test::lorem_ipsum() and use that in places where we want strings of words. Fixes #1713.
Diffstat (limited to 'modules/gallery/tests/Albums_Controller_Test.php')
-rw-r--r--modules/gallery/tests/Albums_Controller_Test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/tests/Albums_Controller_Test.php b/modules/gallery/tests/Albums_Controller_Test.php
index d9983cc2..2ff017d7 100644
--- a/modules/gallery/tests/Albums_Controller_Test.php
+++ b/modules/gallery/tests/Albums_Controller_Test.php
@@ -31,7 +31,7 @@ class Albums_Controller_Test extends Gallery_Unit_Test_Case {
$album = test::random_album();
// Randomize to avoid conflicts.
- $new_name = "new_name_" . random::string(6);
+ $new_name = "new_name_" . test::random_string(6);
$_POST["name"] = $new_name;
$_POST["title"] = "new title";