blob: 24524452af4ea614949f4d721bd80b809987526f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff -up ./Tests/ProfilerTest.php.rpm ./Tests/ProfilerTest.php
--- ./Tests/ProfilerTest.php.rpm 2019-11-20 15:05:37.038969160 +0100
+++ ./Tests/ProfilerTest.php 2019-11-20 15:07:34.760380533 +0100
@@ -41,7 +41,7 @@ class ProfilerTest extends BaseTestCase
$this->collector->addLogger('foo', $this->logger);
$twigLoaderFilesystem = new FilesystemLoader(__DIR__ . '/../Resources/views/Collector');
- $twigLoaderFilesystem->addPath(__DIR__ . '/../vendor/symfony/web-profiler-bundle/Resources/views', 'WebProfiler');
+ $twigLoaderFilesystem->addPath('/usr/share/php/Symfony4/Bundle/WebProfilerBundle/Resources/views', 'WebProfiler');
$this->twig = new Environment($twigLoaderFilesystem, ['debug' => true, 'strict_variables' => true]);
$fragmentHandler = $this->getMockBuilder(FragmentHandler::class)->disableOriginalConstructor()->getMock();
|