mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 07:25:32 +01:00
Fixed some deprecations related to kernel controller tests.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user