summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2012-07-08 23:58:02 -0400
committerDavid Rothstein <drothstein@gmail.com>2012-07-08 23:58:02 -0400
commite0961c9015d0446479b3c8df9c05039813fad951 (patch)
treef999cd9caac629f472113a15aa2ddf6b4848a169 /modules/simpletest
parentefe6bdfd25b46a3bcb7dda5bf94937baea80ca79 (diff)
downloadbrdo-e0961c9015d0446479b3c8df9c05039813fad951.tar.gz
brdo-e0961c9015d0446479b3c8df9c05039813fad951.tar.bz2
Issue #1560028 by bleen18, sun, thehong: Remove all calls to rand() from tests.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/actions.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/actions.test b/modules/simpletest/tests/actions.test
index 23587f0c5..4d58b59cc 100644
--- a/modules/simpletest/tests/actions.test
+++ b/modules/simpletest/tests/actions.test
@@ -97,7 +97,7 @@ class ActionLoopTestCase extends DrupalWebTestCase {
// recursion level should be kept low enough to prevent the xdebug
// infinite recursion protection mechanism from aborting the request.
// See http://drupal.org/node/587634.
- variable_set('actions_max_stack', mt_rand(3, 12));
+ variable_set('actions_max_stack', 7);
$this->triggerActions();
}