Fixed some deprecations related to kernel controller tests.

This commit is contained in:
Jan Böhmer 2019-11-23 15:03:08 +01:00
parent cd5f099965
commit 445b6b6a2b
2 changed files with 18 additions and 19 deletions

View file

@ -35,7 +35,6 @@ abstract class AbstractAdminControllerTest extends WebTestCase
public function setUp()
{
parent::setUp();
self::bootKernel();
}
public function readDataProvider()
@ -55,6 +54,8 @@ abstract class AbstractAdminControllerTest extends WebTestCase
*/
public function testListEntries(string $user, bool $read)
{
static::ensureKernelShutdown();
//Test read access
$client = static::createClient([], [
'PHP_AUTH_USER' => $user,