mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 02:51:04 +00:00
Ensure the kernel is shut down before calling createClient
This commit is contained in:
parent
c2bfc0f359
commit
7d78e2ae06
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue