1 link.validate.test LinkValidateUnitTest::testValidateFrontLink()

File

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

Class

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

Code

function testValidateFrontLink() {
  $valid = link_validate_url('<front>');
  $this->assertEqual(LINK_FRONT, $valid, 'Make sure that front link is verified and identified');
}