You are here

function UserValidationTest::testMinLengthName in SimpleTest 5

Same name and namespace in other branches
  1. 6 tests/user_module.test \UserValidationTest::testMinLengthName()

File

tests/user_validation.test, line 15

Class

UserValidationTest
This class is based on the original Simpletest Module by Moshe Weitzman

Code

function testMinLengthName() {
  $name = '';
  $result = user_validate_name($name);
  $this
    ->assertNotNull($result, 'Excessively short username');
}