mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
cs: Switch to a stricter way of coding - this might break in a lot of places.
This commit is contained in:
@@ -26,7 +26,7 @@ use function random_int;
|
||||
* @internal
|
||||
* @coversNothing
|
||||
*/
|
||||
class RelationshipApiControllerTest extends WebTestCase
|
||||
final class RelationshipApiControllerTest extends WebTestCase
|
||||
{
|
||||
use PrepareClientTrait;
|
||||
|
||||
@@ -41,13 +41,13 @@ class RelationshipApiControllerTest extends WebTestCase
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
static::bootKernel();
|
||||
self::bootKernel();
|
||||
$this->client = $this->getClientAuthenticated();
|
||||
}
|
||||
|
||||
public function personProvider(): array
|
||||
{
|
||||
static::bootKernel();
|
||||
self::bootKernel();
|
||||
$em = self::$container->get(EntityManagerInterface::class);
|
||||
$countPersons = $em->createQueryBuilder()
|
||||
->select('count(p)')
|
||||
@@ -75,7 +75,7 @@ class RelationshipApiControllerTest extends WebTestCase
|
||||
|
||||
public function relationProvider(): array
|
||||
{
|
||||
static::bootKernel();
|
||||
self::bootKernel();
|
||||
$em = self::$container->get(EntityManagerInterface::class);
|
||||
$countPersons = $em->createQueryBuilder()
|
||||
->select('count(p)')
|
||||
|
Reference in New Issue
Block a user