You are here

function UserValidationTest::testValidName in SimpleTest 6

Same name and namespace in other branches
  1. 5 tests/user_validation.test \UserValidationTest::testValidName()

File

tests/user_module.test, line 132

Class

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

Code

function testValidName() {
  $name = 'abc';
  $result = user_validate_name($name);
  $this
    ->assertNull($result, 'Valid username');
}