public function KernelTest::testLocateResourceThrowsExceptionWhenNameIsUnsafe in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/KernelTest.php \Symfony\Component\HttpKernel\Tests\KernelTest::testLocateResourceThrowsExceptionWhenNameIsUnsafe()
@expectedException \RuntimeException
File
- vendor/
symfony/ http-kernel/ Tests/ KernelTest.php, line 400
Class
Namespace
Symfony\Component\HttpKernel\TestsCode
public function testLocateResourceThrowsExceptionWhenNameIsUnsafe() {
$this
->getKernel()
->locateResource('@FooBundle/../bar');
}