function UserValidationTest::testMinLengthMail in SimpleTest 6
Same name and namespace in other branches
- 5 tests/user_validation.test \UserValidationTest::testMinLengthMail()
File
- tests/
user_module.test, line 139
Class
- UserValidationTest
- This class is based on the original Simpletest Module by Moshe Weitzman
Code
function testMinLengthMail() {
$name = '';
$result = user_validate_mail($name);
$this
->assertNotNull($result, 'Empty mail');
}