You are here

function UserValidationTest::testValidMail in SimpleTest 5

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

File

tests/user_validation.test, line 47

Class

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

Code

function testValidMail() {
  $name = 'absdsdsdc@dsdsde.com';
  $result = user_validate_mail($name);
  $this
    ->assertNull($result, 'Valid mail');
}