You are here

function UserValidationTest::testInValidMail in SimpleTest 6

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

File

tests/user_module.test, line 144

Class

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

Code

function testInValidMail() {
  $name = 'abc';
  $result = user_validate_mail($name);
  $this
    ->assertNotNull($result, 'Invalid mail');
}