fix: Fix return types in tests.

This commit is contained in:
Pol Dellaiera
2021-12-21 15:26:22 +01:00
parent 70ca203e23
commit b55c19cd9e
16 changed files with 16 additions and 16 deletions

View File

@@ -32,7 +32,7 @@ final class HouseholdControllerTest extends WebTestCase
private ?KernelBrowser $client = null;
protected function setUp()
protected function setUp(): void
{
$this->client = $this->getClientAuthenticated();
}

View File

@@ -28,7 +28,7 @@ final class MembersEditorTest extends TestCase
{
private MembersEditorFactory $factory;
protected function setUp()
protected function setUp(): void
{
$validator = $this->createMock(ValidatorInterface::class);

View File

@@ -30,7 +30,7 @@ final class AccompanyingPeriodWorkDocGenNormalizerTest extends KernelTestCase
{
private NormalizerInterface $normalizer;
protected function setUp()
protected function setUp(): void
{
parent::bootKernel();
$this->normalizer = self::$container->get(NormalizerInterface::class);

View File

@@ -27,7 +27,7 @@ final class HouseholdNormalizerTest extends KernelTestCase
{
private ?NormalizerInterface $normalizer;
protected function setUp()
protected function setUp(): void
{
self::bootKernel();
$this->normalizer = self::$container->get(NormalizerInterface::class);

View File

@@ -61,7 +61,7 @@ final class PersonDocGenNormalizerTest extends KernelTestCase
private NormalizerInterface $normalizer;
protected function setUp()
protected function setUp(): void
{
self::bootKernel();

View File

@@ -24,7 +24,7 @@ final class PersonJsonNormalizerTest extends KernelTestCase
{
private NormalizerInterface $normalizer;
protected function setUp()
protected function setUp(): void
{
self::bootKernel();
$this->normalizer = self::$container->get(NormalizerInterface::class);

View File

@@ -27,7 +27,7 @@ final class PersonValidationTest extends KernelTestCase
{
private ValidatorInterface $validator;
protected function setUp()
protected function setUp(): void
{
self::bootKernel();
$this->validator = self::$container->get(ValidatorInterface::class);

View File

@@ -22,7 +22,7 @@ use Symfony\Component\Workflow\Registry;
*/
final class AccompanyingPeriodLifecycle extends KernelTestCase
{
protected function setUp()
protected function setUp(): void
{
self::bootKernel();
}