mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Fixed some deprecations related to kernel controller tests.
This commit is contained in:
parent
cd5f099965
commit
445b6b6a2b
2 changed files with 18 additions and 19 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue