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

@@ -50,7 +50,7 @@ final class PersonControllerUpdateWithHiddenFieldsTest extends WebTestCase
/**
* Prepare client and create a random person.
*/
public function setUp(): void
protected function setUp(): void
{
self::bootKernel(['environment' => 'test_with_hidden_fields']);
@@ -83,7 +83,7 @@ final class PersonControllerUpdateWithHiddenFieldsTest extends WebTestCase
);
}
public function tearDown()
protected function tearDown(): void
{
$this->refreshPerson();
$this->em->remove($this->person);