function LinkValidateUrlLight::testValidateInternalLinkWithDot in Link 6.2
File
- tests/
link.validate.test, line 440 - 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 testValidateInternalLinkWithDot() {
$valid = link_validate_url('rss.xml');
$this
->assertEqual(LINK_INTERNAL, $valid, 'Test rss.xml internal link.');
}