Skip to content

Commit e1dbf1b

Browse files
authored
Merge pull request #3 from Nyholm/patch-1
Bugfix when running more than one tests
2 parents 574cbb4 + 32c1726 commit e1dbf1b

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)