Skip to content

Commit c0945ca

Browse files
mnapolifabpot
authored andcommitted
[HttpKernel] Add $kernel->getBuildDir() to separate it from the cache directory
1 parent 603fa8d commit c0945ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/DependencyInjection/Compiler/AddSessionDomainConstraintPassTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ private function createContainer($sessionStorageOptions)
125125
$container = new ContainerBuilder();
126126
$container->setParameter('kernel.bundles_metadata', []);
127127
$container->setParameter('kernel.cache_dir', __DIR__);
128+
$container->setParameter('kernel.build_dir', __DIR__);
128129
$container->setParameter('kernel.charset', 'UTF-8');
129130
$container->setParameter('kernel.container_class', 'cc');
130131
$container->setParameter('kernel.debug', true);

0 commit comments

Comments
 (0)