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

@@ -64,7 +64,7 @@ final class AccompanyingPeriodControllerTest extends WebTestCase
/**
* Setup before each test method (see phpunit doc).
*/
public function setUp(): void
protected function setUp(): void
{
$this->client = self::createClient([], [
'PHP_AUTH_USER' => 'center a_social',
@@ -87,7 +87,7 @@ final class AccompanyingPeriodControllerTest extends WebTestCase
/**
* TearDown after each test method (see phpunit doc).
*/
public function tearDown()
protected function tearDown(): void
{
self::$em->refresh($this->person);
self::$em->remove($this->person);