mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix: Fix return types in tests.
This commit is contained in:
parent
58a13d932f
commit
70ca203e23
@ -26,7 +26,7 @@ final class ActivityReasonAggregatorTest extends AbstractAggregatorTest
|
||||
*/
|
||||
private $aggregator;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -26,7 +26,7 @@ final class ActivityTypeAggregatorTest extends AbstractAggregatorTest
|
||||
*/
|
||||
private $aggregator;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -26,7 +26,7 @@ final class ActivityUserAggregatorTest extends AbstractAggregatorTest
|
||||
*/
|
||||
private $aggregator;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -24,7 +24,7 @@ final class CountActivityTest extends AbstractExportTest
|
||||
*/
|
||||
private $export;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -24,7 +24,7 @@ final class ListActivityTest extends AbstractExportTest
|
||||
*/
|
||||
private $export;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -26,7 +26,7 @@ final class StatActivityDurationSumTest extends AbstractExportTest
|
||||
*/
|
||||
private $export;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -25,7 +25,7 @@ final class ActivityReasonFilterTest extends AbstractFilterTest
|
||||
*/
|
||||
private $filter;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -26,7 +26,7 @@ final class PersonHavingActivityBetweenDateFilterTest extends AbstractFilterTest
|
||||
*/
|
||||
private $filter;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -45,7 +45,7 @@ final class ActivityTypeTest extends KernelTestCase
|
||||
*/
|
||||
protected $user;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -29,7 +29,7 @@ final class TranslatableActivityReasonTest extends TypeTestCase
|
||||
*/
|
||||
private static $prophet;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ final class TranslatableActivityTypeTest extends KernelTestCase
|
||||
*/
|
||||
protected $container;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -44,7 +44,7 @@ final class ActivityVoterTest extends KernelTestCase
|
||||
*/
|
||||
protected $voter;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->voter = self::$kernel->getContainer()
|
||||
|
@ -26,7 +26,7 @@ final class AsideActivityControllerTest extends WebTestCase
|
||||
{
|
||||
use PrepareClientTrait;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
self::bootKernel();
|
||||
|
@ -26,7 +26,7 @@ final class CalendarControllerTest extends WebTestCase
|
||||
/**
|
||||
* Setup before each test method (see phpunit doc).
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->client = self::createClient([], [
|
||||
|
@ -37,7 +37,7 @@ final class CustomFieldsChoiceTest extends KernelTestCase
|
||||
*/
|
||||
private $cfProvider;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
@ -46,7 +46,7 @@ final class CustomFieldsChoiceTest extends KernelTestCase
|
||||
$this->cfChoice = $this->cfProvider->getCustomFieldByType('choice');
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
parent::tearDown();
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ final class CustomFieldsNumberTest extends \Symfony\Bundle\FrameworkBundle\Test\
|
||||
*/
|
||||
private $formBuilder;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -28,7 +28,7 @@ final class CustomFieldsTextTest extends WebTestCase
|
||||
*/
|
||||
private $customFieldProvider;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->customFieldProvider = self::$kernel->getContainer()
|
||||
|
@ -27,7 +27,7 @@ final class PostTextIntegerExtensionTest extends KernelTestCase
|
||||
*/
|
||||
private $formBuilder;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -27,7 +27,7 @@ final class PostTextNumberExtensionTest extends KernelTestCase
|
||||
*/
|
||||
private $formBuilder;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -33,7 +33,7 @@ final class CustomFieldsHelperTest extends KernelTestCase
|
||||
*/
|
||||
private $randomCFText;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -34,7 +34,7 @@ final class CustomFieldRenderingTwigTest extends KernelTestCase
|
||||
*/
|
||||
private $cfRendering;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->cfRendering = self::$kernel->getContainer()
|
||||
|
@ -36,7 +36,7 @@ final class CustomFieldsGroupRenderingTwigTest extends KernelTestCase
|
||||
*/
|
||||
private $cfRendering;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->cfRendering = self::$kernel->getContainer()
|
||||
|
@ -44,7 +44,7 @@ final class ParticipationControllerTest extends WebTestCase
|
||||
*/
|
||||
private $personsIdsCache = [];
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -68,7 +68,7 @@ final class EventSearchTest extends WebTestCase
|
||||
*/
|
||||
protected $prophet;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
/** @var \Symfony\Component\HttpKernel\KernelInterface $kernel */
|
||||
@ -96,7 +96,7 @@ final class EventSearchTest extends WebTestCase
|
||||
$this->createEvents();
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
foreach ($this->events as $event) {
|
||||
$this->entityManager->createQuery('DELETE FROM ChillEventBundle:Event e WHERE e.id = :event_id')
|
||||
|
@ -32,7 +32,7 @@ abstract class AbstractFilterTest extends KernelTestCase
|
||||
*/
|
||||
protected $prophet;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->prepareProphet();
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ final class ParentRoleHelperTest extends KernelTestCase
|
||||
{
|
||||
private ParentRoleHelper $parentRoleHelper;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->parentRoleHelper = self::$container->get(ParentRoleHelper::class);
|
||||
|
@ -26,7 +26,7 @@ final class AddressControllerTest extends \Symfony\Bundle\FrameworkBundle\Test\W
|
||||
|
||||
private KernelBrowser $client;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->client = $this->getClientAuthenticated();
|
||||
|
@ -26,7 +26,7 @@ final class UserControllerTest extends WebTestCase
|
||||
|
||||
private array $toDelete = [];
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -42,14 +42,14 @@ final class ExportManagerTest extends KernelTestCase
|
||||
*/
|
||||
private $prophet;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
$this->prophet = new \Prophecy\Prophet();
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$this->prophet->checkPredictions();
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ final class PageTest extends KernelTestCase
|
||||
|
||||
protected $prophet;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->prophet = new \Prophecy\Prophet();
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ final class PaginatorTest extends KernelTestCase
|
||||
|
||||
protected $prophet;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->prophet = new \Prophecy\Prophet();
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ final class RouteLoaderTest extends KernelTestCase
|
||||
{
|
||||
private $router;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->router = self::$kernel->getContainer()->get('router');
|
||||
|
@ -24,7 +24,7 @@ final class AbstractSearchTest extends \PHPUnit\Framework\TestCase
|
||||
*/
|
||||
private $stub;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->stub = $this->getMockForAbstractClass('Chill\MainBundle\Search\AbstractSearch');
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ final class SearchProviderTest extends TestCase
|
||||
*/
|
||||
private $search;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->search = new SearchProvider();
|
||||
|
||||
|
@ -38,7 +38,7 @@ final class AuthorizationHelperTest extends KernelTestCase
|
||||
use PrepareUserTrait;
|
||||
use ProphecyTrait;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ final class TokenManagerTest extends KernelTestCase
|
||||
{
|
||||
protected $tokenManager;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -25,7 +25,7 @@ final class DefaultScopeResolverTest extends TestCase
|
||||
{
|
||||
private DefaultScopeResolver $scopeResolver;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->scopeResolver = new DefaultScopeResolver();
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ final class ScopeResolverDispatcherTest extends TestCase
|
||||
{
|
||||
private ScopeResolverDispatcher $scopeResolverDispatcher;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->scopeResolverDispatcher = new ScopeResolverDispatcher([new DefaultScopeResolver()]);
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ final class DateNormalizerTest extends KernelTestCase
|
||||
{
|
||||
private Prophet $prophet;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->prophet = new Prophet();
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ final class MenuComposerTest extends KernelTestCase
|
||||
*/
|
||||
private $menuComposer;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel(['environment' => 'test']);
|
||||
$this->menuComposer = self::$container
|
||||
|
@ -35,7 +35,7 @@ final class AccompanyingPeriodConfidentialTest extends WebTestCase
|
||||
/**
|
||||
* Setup before each test method (see phpunit doc).
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->client = self::createClient([], [
|
||||
'PHP_AUTH_USER' => 'fred',
|
||||
|
@ -59,7 +59,7 @@ final class AccompanyingCourseApiControllerTest extends WebTestCase
|
||||
/**
|
||||
* Setup before each test method (see phpunit doc).
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->client = self::createClient([], [
|
||||
'PHP_AUTH_USER' => 'center a_social',
|
||||
|
@ -32,7 +32,7 @@ final class AccompanyingCourseControllerTest extends WebTestCase
|
||||
{
|
||||
use PrepareClientTrait;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
self::bootKernel();
|
||||
|
@ -64,7 +64,7 @@ final class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
/**
|
||||
* Setup before each test method (see phpunit doc).
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->client = self::createClient([], [
|
||||
'PHP_AUTH_USER' => 'center a_social',
|
||||
@ -87,7 +87,7 @@ final class AccompanyingPeriodControllerTest extends WebTestCase
|
||||
/**
|
||||
* TearDown after each test method (see phpunit doc).
|
||||
*/
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
self::$em->refresh($this->person);
|
||||
self::$em->remove($this->person);
|
||||
|
@ -63,7 +63,7 @@ final class PersonAddressControllerTest extends WebTestCase
|
||||
/**
|
||||
* Prepare client and create a random person.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -67,7 +67,7 @@ final class PersonControllerCreateTest extends WebTestCase
|
||||
$em->flush();
|
||||
}
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->client = $this->getClientAuthenticated();
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ final class PersonControllerUpdateTest extends WebTestCase
|
||||
/**
|
||||
* Prepare client and create a random person.
|
||||
*/
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
@ -76,7 +76,7 @@ final class PersonControllerUpdateTest extends WebTestCase
|
||||
$this->client = $this->getClientAuthenticated();
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$this->refreshPerson();
|
||||
$this->em->remove($this->person);
|
||||
|
@ -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);
|
||||
|
@ -35,7 +35,7 @@ final class PersonControllerViewTest extends WebTestCase
|
||||
*/
|
||||
private $viewUrl;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
@ -57,7 +57,7 @@ final class PersonControllerViewTest extends WebTestCase
|
||||
$this->viewUrl = '/en/person/' . $this->person->getId() . '/general';
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
protected function tearDown(): void
|
||||
{
|
||||
$this->refreshPerson();
|
||||
$this->em->remove($this->person);
|
||||
|
@ -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);
|
||||
|
@ -20,7 +20,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
*/
|
||||
final class PersonDuplicateControllerViewTest extends WebTestCase
|
||||
{
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -39,7 +39,7 @@ final class RelationshipApiControllerTest extends WebTestCase
|
||||
*/
|
||||
private ?array $relations = null;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->client = $this->getClientAuthenticated();
|
||||
|
@ -26,7 +26,7 @@ final class SocialIssueApiControllerTest extends WebTestCase
|
||||
{
|
||||
use PrepareClientTrait;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
@ -25,7 +25,7 @@ final class AgeAggregatorTest extends AbstractAggregatorTest
|
||||
*/
|
||||
private $aggregator;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -24,7 +24,7 @@ final class GenderAggregatorTest extends AbstractAggregatorTest
|
||||
*/
|
||||
private $aggregator;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -24,7 +24,7 @@ final class NationalityAggregatorTest extends AbstractAggregatorTest
|
||||
*/
|
||||
private $aggregator;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -26,7 +26,7 @@ final class CountPersonTest extends AbstractExportTest
|
||||
*/
|
||||
private $export;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -28,7 +28,7 @@ final class ListPersonTest extends AbstractExportTest
|
||||
*/
|
||||
private $export;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -26,7 +26,7 @@ final class AccompanyingPeriodFilterTest extends AbstractFilterTest
|
||||
*/
|
||||
private $filter;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -25,7 +25,7 @@ final class BirthdayFilterTest extends AbstractFilterTest
|
||||
*/
|
||||
private $filter;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -25,7 +25,7 @@ final class GenderFilterTest extends AbstractFilterTest
|
||||
*/
|
||||
private $filter;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -32,7 +32,7 @@ final class PickPersonTypeTest extends KernelTestCase
|
||||
*/
|
||||
protected $user;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
|
||||
|
@ -42,7 +42,7 @@ final class PersonVoterTest extends KernelTestCase
|
||||
*/
|
||||
protected $voter;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
self::bootKernel();
|
||||
$this->voter = self::$container
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user