function LinkValidateUrlLight::testValidateFrontLink in Link 6.2
File
- tests/
link.validate.test, line 405 - 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 testValidateFrontLink() {
$valid = link_validate_url('<front>');
$this
->assertEqual(LINK_FRONT, $valid, 'Make sure that front link is verfied and identified');
}