public function LinkValidationApiTest::testValidateFrontLink in Link 7
Make sure that a link labeled <front> works.
File
- tests/
LinkValidationApiTest.test, line 76 - Validate the link_validate_url() validation API.
Class
- LinkValidationApiTest
- Validate the link_validate_url() validation API.
Code
public function testValidateFrontLink() {
$valid = link_validate_url('<front>');
$this
->assertEqual(LINK_FRONT, $valid, 'Make sure that front link is verified and identified');
}