fix: Fix return types in tests.

This commit is contained in:
Pol Dellaiera
2021-12-21 15:02:12 +01:00
parent ea839a4b52
commit 3d0be940f0
66 changed files with 66 additions and 66 deletions

View File

@@ -59,7 +59,7 @@ final class AccompanyingCourseApiControllerTest extends WebTestCase
/**
* Setup before each test method (see phpunit doc).
*/
public function setUp()
public function setUp(): void
{
$this->client = self::createClient([], [
'PHP_AUTH_USER' => 'center a_social',

View File

@@ -32,7 +32,7 @@ final class AccompanyingCourseControllerTest extends WebTestCase
{
use PrepareClientTrait;
public function setUp()
public function setUp(): void
{
parent::setUp();
self::bootKernel();

View File

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

View File

@@ -63,7 +63,7 @@ final class PersonAddressControllerTest extends WebTestCase
/**
* Prepare client and create a random person.
*/
public function setUp()
public function setUp(): void
{
self::bootKernel();

View File

@@ -51,7 +51,7 @@ final class PersonControllerUpdateTest extends WebTestCase
/**
* Prepare client and create a random person.
*/
public function setUp()
public function setUp(): void
{
self::bootKernel();

View File

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

View File

@@ -35,7 +35,7 @@ final class PersonControllerViewTest extends WebTestCase
*/
private $viewUrl;
public function setUp()
public function setUp(): void
{
self::bootKernel();

View File

@@ -35,7 +35,7 @@ final class PersonControllerViewWithHiddenFieldsTest extends WebTestCase
*/
private $viewUrl;
public function setUp()
public function setUp(): void
{
self::bootKernel(['environment' => 'test_with_hidden_fields']);

View File

@@ -20,7 +20,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
*/
final class PersonDuplicateControllerViewTest extends WebTestCase
{
public function setUp()
public function setUp(): void
{
self::bootKernel();

View File

@@ -39,7 +39,7 @@ final class RelationshipApiControllerTest extends WebTestCase
*/
private ?array $relations = null;
public function setUp()
public function setUp(): void
{
self::bootKernel();
$this->client = $this->getClientAuthenticated();

View File

@@ -26,7 +26,7 @@ final class SocialIssueApiControllerTest extends WebTestCase
{
use PrepareClientTrait;
public function setUp()
public function setUp(): void
{
parent::setUp();