protected function EntityLegalTestBase::randomMachineName in Entity Legal 8.2
Same name and namespace in other branches
- 4.0.x src/Tests/EntityLegalTestBase.php \Drupal\entity_legal\Tests\EntityLegalTestBase::randomMachineName()
- 3.0.x src/Tests/EntityLegalTestBase.php \Drupal\entity_legal\Tests\EntityLegalTestBase::randomMachineName()
Ensures generated names are lower case.
Overrides RandomGeneratorTrait::randomMachineName
4 calls to EntityLegalTestBase::randomMachineName()
- EntityLegalDocumentTest::testCreateForm in src/
Tests/ EntityLegalDocumentTest.php - Test the functionality of the create form.
- EntityLegalDocumentTest::testEditForm in src/
Tests/ EntityLegalDocumentTest.php - Test the functionality of the edit form.
- EntityLegalDocumentVersionTest::testCreateForm in src/
Tests/ EntityLegalDocumentVersionTest.php - Test the functionality of the create form.
- EntityLegalDocumentVersionTest::testEditForm in src/
Tests/ EntityLegalDocumentVersionTest.php - Test the functionality of the edit form.
File
- src/
Tests/ EntityLegalTestBase.php, line 55
Class
- EntityLegalTestBase
- Common Simpletest class for all legal tests.
Namespace
Drupal\entity_legal\TestsCode
protected function randomMachineName($length = 8) {
return strtolower(parent::randomMachineName($length));
}