diff options
author | David Rothstein <drothstein@gmail.com> | 2012-07-08 23:58:02 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-07-08 23:58:02 -0400 |
commit | e0961c9015d0446479b3c8df9c05039813fad951 (patch) | |
tree | f999cd9caac629f472113a15aa2ddf6b4848a169 /modules/field/tests | |
parent | efe6bdfd25b46a3bcb7dda5bf94937baea80ca79 (diff) | |
download | brdo-e0961c9015d0446479b3c8df9c05039813fad951.tar.gz brdo-e0961c9015d0446479b3c8df9c05039813fad951.tar.bz2 |
Issue #1560028 by bleen18, sun, thehong: Remove all calls to rand() from tests.
Diffstat (limited to 'modules/field/tests')
-rw-r--r-- | modules/field/tests/field.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/tests/field.test b/modules/field/tests/field.test index 0f7c41740..739ddbe99 100644 --- a/modules/field/tests/field.test +++ b/modules/field/tests/field.test @@ -2806,7 +2806,7 @@ class FieldTranslationsTestCase extends FieldTestCase { $options = array(); $entities = array(); $entity_type = 'test_entity'; - $entity_count = mt_rand(2, 5); + $entity_count = 5; $available_languages = field_available_languages($this->entity_type, $this->field); for ($id = 1; $id <= $entity_count; ++$id) { |