mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-28 13:06:13 +00:00
Force again the kernel to shutdown before creating the client
This commit is contained in:
parent
fc7cfb1760
commit
b93a822299
@ -65,6 +65,7 @@ final class AsideActivityControllerTest extends WebTestCase
|
|||||||
*/
|
*/
|
||||||
public function testEditWithoutUsers(int $asideActivityId)
|
public function testEditWithoutUsers(int $asideActivityId)
|
||||||
{
|
{
|
||||||
|
self::ensureKernelShutdown();
|
||||||
$client = $this->getClientAuthenticated();
|
$client = $this->getClientAuthenticated();
|
||||||
$client->request('GET', "/fr/asideactivity/{$asideActivityId}/edit");
|
$client->request('GET', "/fr/asideactivity/{$asideActivityId}/edit");
|
||||||
|
|
||||||
@ -73,6 +74,7 @@ final class AsideActivityControllerTest extends WebTestCase
|
|||||||
|
|
||||||
public function testIndexWithoutUsers()
|
public function testIndexWithoutUsers()
|
||||||
{
|
{
|
||||||
|
self::ensureKernelShutdown();
|
||||||
$client = $this->getClientAuthenticated();
|
$client = $this->getClientAuthenticated();
|
||||||
$client->request('GET', '/fr/asideactivity');
|
$client->request('GET', '/fr/asideactivity');
|
||||||
|
|
||||||
@ -81,6 +83,7 @@ final class AsideActivityControllerTest extends WebTestCase
|
|||||||
|
|
||||||
public function testNewWithoutUsers()
|
public function testNewWithoutUsers()
|
||||||
{
|
{
|
||||||
|
self::ensureKernelShutdown();
|
||||||
$client = $this->getClientAuthenticated();
|
$client = $this->getClientAuthenticated();
|
||||||
$client->request('GET', '/fr/asideactivity/new');
|
$client->request('GET', '/fr/asideactivity/new');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user