You are here

public function LinkValidationApiTest::testValidateEmailLink in Link 7

Validate Email Link.

File

tests/LinkValidationApiTest.test, line 84
Validate the link_validate_url() validation API.

Class

LinkValidationApiTest
Validate the link_validate_url() validation API.

Code

public function testValidateEmailLink() {
  $valid = link_validate_url('mailto:bob@example.com');
  $this
    ->assertEqual(LINK_EMAIL, $valid, "Make sure a basic mailto is verified and identified");
}