function PathValidatorTest::testIsValidWithNone
Tests the isValid() method for <none> (used for jump links).
@legacy-covers ::isValid
File
-
core/
tests/ Drupal/ Tests/ Core/ Path/ PathValidatorTest.php, line 90
Class
Namespace
Drupal\Tests\Core\PathCode
public function testIsValidWithNone() : void {
$this->accessAwareRouter
->expects($this->never())
->method('match');
$this->assertTrue($this->pathValidator
->isValid('<none>'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.