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

@@ -35,7 +35,7 @@ final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase
*/
private $viewUrl;
public function setUp(): void
protected function setUp(): void
{
self::bootKernel(['environment' => 'test_with_hidden_fields']);
@@ -57,7 +57,7 @@ final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase
$this->viewUrl = '/en/person/' . $this->person->getId() . '/general';
}
public function tearDown()
protected function tearDown(): void
{
$this->refreshPerson();
$this->em->remove($this->person);