Skip to content

Commit 00f9107

Browse files
committed
Create Symfony log dir in tests
1 parent ae3dd99 commit 00f9107

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/symfony/src/Kernel.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ public function getProjectDir(): string
4040
return \dirname(__DIR__);
4141
}
4242

43+
public function getLogDir(): string
44+
{
45+
$logDir = parent::getLogDir();
46+
\mkdir($logDir);
47+
48+
return $logDir;
49+
}
50+
4351
protected function configureContainer(ContainerConfigurator $container): void
4452
{
4553
$container->extension('framework', [

0 commit comments

Comments
 (0)