Skip to content

Commit 32c1726

Browse files
committed
Bugfix when running more than one tests
1 parent 574cbb4 commit 32c1726

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/AppKernel.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace Nyholm\BundleTest;
44

55
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
6-
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
76
use Symfony\Component\Config\Loader\LoaderInterface;
87
use Symfony\Component\DependencyInjection\ContainerBuilder;
98
use Symfony\Component\HttpKernel\Kernel;
@@ -34,7 +33,7 @@ class AppKernel extends Kernel
3433
*/
3534
public function __construct($cachePrefix)
3635
{
37-
parent::__construct('test', true);
36+
parent::__construct($cachePrefix, true);
3837
$this->cachePrefix = $cachePrefix;
3938
$this->addBundle(FrameworkBundle::class);
4039
$this->addConfigFile(__DIR__.'/config/framework.yml');

0 commit comments

Comments
 (0)