public function XmlFileLoaderTest::testDocTypeIsNotAllowed in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/routing/Tests/Loader/XmlFileLoaderTest.php \Symfony\Component\Routing\Tests\Loader\XmlFileLoaderTest::testDocTypeIsNotAllowed()
- 8 vendor/symfony/dependency-injection/Tests/Loader/XmlFileLoaderTest.php \Symfony\Component\DependencyInjection\Tests\Loader\XmlFileLoaderTest::testDocTypeIsNotAllowed()
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/Loader/XmlFileLoaderTest.php \Symfony\Component\Routing\Tests\Loader\XmlFileLoaderTest::testDocTypeIsNotAllowed()
@expectedException \InvalidArgumentException @expectedExceptionMessage Document types are not allowed.
File
- vendor/
symfony/ routing/ Tests/ Loader/ XmlFileLoaderTest.php, line 133
Class
Namespace
Symfony\Component\Routing\Tests\LoaderCode
public function testDocTypeIsNotAllowed() {
$loader = new XmlFileLoader(new FileLocator(array(
__DIR__ . '/../Fixtures',
)));
$loader
->load('withdoctype.xml');
}