mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Changed all public setUp methods in tests to be protected
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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());
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user