Changed all public setUp methods in tests to be protected

This commit is contained in:
Alejandro Celaya
2022-09-11 12:02:49 +02:00
parent c841e57db5
commit 997289da02
72 changed files with 72 additions and 72 deletions

View File

@@ -38,7 +38,7 @@ class VisitLocatorTest extends TestCase
private ObjectProphecy $em;
private ObjectProphecy $repo;
public function setUp(): void
protected function setUp(): void
{
$this->em = $this->prophesize(EntityManager::class);
$this->repo = $this->prophesize(VisitRepositoryInterface::class);

View File

@@ -43,7 +43,7 @@ class VisitsStatsHelperTest extends TestCase
private VisitsStatsHelper $helper;
private ObjectProphecy $em;
public function setUp(): void
protected function setUp(): void
{
$this->em = $this->prophesize(EntityManagerInterface::class);
$this->helper = new VisitsStatsHelper($this->em->reveal());

View File

@@ -26,7 +26,7 @@ class VisitsTrackerTest extends TestCase
private ObjectProphecy $eventDispatcher;
private TrackingOptions $options;
public function setUp(): void
protected function setUp(): void
{
$this->em = $this->prophesize(EntityManager::class);