You are here

function LinkValidateUrlLight::testValidateEmailLink in Link 6.2

File

tests/link.validate.test, line 410
Tests that exercise the validation functions in the link module.

Class

LinkValidateUrlLight
A series of tests of links, only going against the link_validate_url function in link.module.

Code

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