public function UrlTest::testFromInvalidInternalUri in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/UrlTest.php \Drupal\Tests\Core\UrlTest::testFromInvalidInternalUri()
Tests the fromUri() method with an invalid internal: URI.
@covers ::fromUri @expectedException \InvalidArgumentException @dataProvider providerFromInvalidInternalUri
File
- core/
tests/ Drupal/ Tests/ Core/ UrlTest.php, line 722 - Contains \Drupal\Tests\Core\UrlTest.
Class
- UrlTest
- @coversDefaultClass \Drupal\Core\Url @group UrlTest
Namespace
Drupal\Tests\CoreCode
public function testFromInvalidInternalUri($path) {
Url::fromUri('internal:' . $path);
}