You are here

function LinkValidateUrlLight::testValidateInternalLink in Link 6.2

File

tests/link.validate.test, line 435
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 testValidateInternalLink() {
  $valid = link_validate_url('node/5');
  $this
    ->assertEqual(LINK_INTERNAL, $valid, 'Test normal internal link.');
}