You are here

public function KernelTest::testLocateResourceThrowsExceptionWhenNameIsUnsafe in Zircon Profile 8.0

Same name and namespace in other branches
  1. 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

KernelTest

Namespace

Symfony\Component\HttpKernel\Tests

Code

public function testLocateResourceThrowsExceptionWhenNameIsUnsafe() {
  $this
    ->getKernel()
    ->locateResource('@FooBundle/../bar');
}