function UserValidationTest::testValidMail in SimpleTest 6
Same name and namespace in other branches
- 5 tests/user_validation.test \UserValidationTest::testValidMail()
File
- tests/
user_module.test, line 149
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');
}