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

@@ -21,7 +21,7 @@ class GlobalVisitsActionTest extends TestCase
private GlobalVisitsAction $action;
private ObjectProphecy $helper;
public function setUp(): void
protected function setUp(): void
{
$this->helper = $this->prophesize(VisitsStatsHelperInterface::class);
$this->action = new GlobalVisitsAction($this->helper->reveal());

View File

@@ -24,7 +24,7 @@ class NonOrphanVisitsActionTest extends TestCase
private NonOrphanVisitsAction $action;
private ObjectProphecy $visitsHelper;
public function setUp(): void
protected function setUp(): void
{
$this->visitsHelper = $this->prophesize(VisitsStatsHelperInterface::class);
$this->action = new NonOrphanVisitsAction($this->visitsHelper->reveal());

View File

@@ -27,7 +27,7 @@ class ShortUrlVisitsActionTest extends TestCase
private ShortUrlVisitsAction $action;
private ObjectProphecy $visitsHelper;
public function setUp(): void
protected function setUp(): void
{
$this->visitsHelper = $this->prophesize(VisitsStatsHelperInterface::class);
$this->action = new ShortUrlVisitsAction($this->visitsHelper->reveal());