8000 minor #25171 [FrameworkBundle] Make MicroKernelTraitTest green (nicol… · symfony/symfony@d954af5 · GitHub
[go: up one dir, main page]

Skip to content

Commit d954af5

Browse files
minor #25171 [FrameworkBundle] Make MicroKernelTraitTest green (nicolas-grekas)
This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle] Make MicroKernelTraitTest green | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Fixes the current failure on PHP 5.6: ``` 1) Symfony\Bundle\FrameworkBundle\Tests\Kernel\MicroKernelTraitTest::testAsEventSubscriber filemtime(): stat failed for /tmp/sf_micro_kernel/KernelTestDebugProjectContainer.php /home/travis/build/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php:91 /home/travis/build/symfony/symfony/src/Symfony/Component/Config/ConfigCache.php:60 /home/travis/build/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:585 /home/travis/build/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:137 /home/travis/build/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Tests/Kernel/MicroKernelTraitTest.php:35 ``` Commits ------- 01edbf7 [FrameworkBundle] Make MicroKernelTraitTest green
2 parents 4cfd2d9 + 01edbf7 commit d954af5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Kernel/MicroKernelTraitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class MicroKernelTraitTest extends TestCase
1818
{
1919
public function test()
2020
{
21-
$kernel = new ConcreteMicroKernel('test', true);
21+
$kernel = new ConcreteMicroKernel('test', false);
2222
$kernel->boot();
2323

2424
$request = Request::create('/');
@@ -31,7 +31,7 @@ public function test()
3131

3232
public function testAsEventSubscriber()
3333
{
34-
$kernel = new ConcreteMicroKernel('test', true);
34+
$kernel = new ConcreteMicroKernel('test', false);
3535
$kernel->boot();
3636

3737
$request = Request::create('/danger');

0 commit comments

Comments
 (0)
0