fix: Fix return types in tests.

This commit is contained in:
Pol Dellaiera
2021-12-21 15:19:36 +01:00
parent 58a13d932f
commit 70ca203e23
67 changed files with 76 additions and 76 deletions

View File

@@ -44,7 +44,7 @@ final class ParticipationControllerTest extends WebTestCase
*/
private $personsIdsCache = [];
public function setUp(): void
protected function setUp(): void
{
self::bootKernel();

View File

@@ -68,7 +68,7 @@ final class EventSearchTest extends WebTestCase
*/
protected $prophet;
public function setUp(): void
protected function setUp(): void
{
self::bootKernel();
/** @var \Symfony\Component\HttpKernel\KernelInterface $kernel */
@@ -96,7 +96,7 @@ final class EventSearchTest extends WebTestCase
$this->createEvents();
}
public function tearDown()
protected function tearDown(): void
{
foreach ($this->events as $event) {
$this->entityManager->createQuery('DELETE FROM ChillEventBundle:Event e WHERE e.id = :event_id')