mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
fix: Fix return types in tests.
This commit is contained in:
@@ -38,7 +38,7 @@ final class ReportControllerNextTest extends WebTestCase
|
||||
*/
|
||||
protected $person;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
// get person from fixture
|
||||
|
@@ -98,7 +98,7 @@ final class ReportControllerTest extends WebTestCase
|
||||
->findOneBy(['username' => 'center a_social']);
|
||||
}
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::$client = self::createClient([], [
|
||||
'PHP_AUTH_USER' => 'center a_social',
|
||||
|
@@ -45,7 +45,7 @@ final class ReportVoterTest extends KernelTestCase
|
||||
{
|
||||
}
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->voter = self::$kernel->getContainer()
|
||||
|
@@ -45,7 +45,7 @@ final class TimelineProviderTest extends WebTestCase
|
||||
/**
|
||||
* Create a person with a report associated with the person.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
@@ -86,7 +86,7 @@ final class TimelineProviderTest extends WebTestCase
|
||||
self::$em->flush();
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
//static::$em->refresh($this->person);
|
||||
//static::$em->refresh($this->report);
|
||||
|
Reference in New Issue
Block a user