Ensure the kernel is shut down before calling createClient
This commit is contained in:
parent
c2bfc0f359
commit
7d78e2ae06
@ -22,6 +22,8 @@ abstract class WallabagCoreTestCase extends WebTestCase
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
static::ensureKernelShutdown();
|
||||
|
||||
parent::setUp();
|
||||
|
||||
$this->client = static::createClient();
|
||||
@ -29,6 +31,8 @@ abstract class WallabagCoreTestCase extends WebTestCase
|
||||
|
||||
public function getNewClient()
|
||||
{
|
||||
static::ensureKernelShutdown();
|
||||
|
||||
return $this->client = static::createClient();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user