summaryrefslogtreecommitdiffstats
path: root/php-doctrine-doctrine-bundle2-vendor.patch
blob: 68906a3e942789888a3e55f19b898a4ee5adc7e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up ./Tests/ProfilerTest.php.rpm ./Tests/ProfilerTest.php
--- ./Tests/ProfilerTest.php.rpm	2021-04-06 09:11:38.958882731 +0200
+++ ./Tests/ProfilerTest.php	2021-04-06 09:12:58.974653590 +0200
@@ -46,7 +46,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);