You are here

public static function EntityLegalTestCase::randomName in Entity Legal 7.2

Same name and namespace in other branches
  1. 7 tests/entity_legal.common.test \EntityLegalTestCase::randomName()

Ensures generated names are lower case.

Overrides DrupalTestCase::randomName

6 calls to EntityLegalTestCase::randomName()
EntityLegalDocumentTestCase::testCreateForm in tests/entity_legal.document.test
Test the functionality of the create form.
EntityLegalDocumentTestCase::testEditForm in tests/entity_legal.document.test
Test the functionality of the edit form.
EntityLegalDocumentVersionTestCase::testCreateForm in tests/entity_legal.version.test
Test the functionality of the create form.
EntityLegalDocumentVersionTestCase::testEditForm in tests/entity_legal.version.test
Test the functionality of the edit form.
EntityLegalTestCase::createDocument in tests/entity_legal.common.test
Create a random legal document entity.

... See full list

File

tests/entity_legal.common.test, line 29
Common test class file.

Class

EntityLegalTestCase
Common Simpletest class for all legal tests.

Code

public static function randomName($length = 8) {
  return strtolower(parent::randomName($length));
}