mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-12 01:54:41 +08:00
Changed all public setUp methods in tests to be protected
This commit is contained in:
@@ -31,7 +31,7 @@ class NotFoundRedirectHandlerTest extends TestCase
|
||||
private ObjectProphecy $next;
|
||||
private ServerRequestInterface $req;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->redirectOptions = new NotFoundRedirectOptions();
|
||||
$this->resolver = $this->prophesize(NotFoundRedirectResolverInterface::class);
|
||||
|
||||
@@ -21,7 +21,7 @@ class NotFoundTemplateHandlerTest extends TestCase
|
||||
private NotFoundTemplateHandler $handler;
|
||||
private bool $readFileCalled;
|
||||
|
||||
public function setUp(): void
|
||||
protected function setUp(): void
|
||||
{
|
||||
$this->readFileCalled = false;
|
||||
$readFile = function (string $fileName): string {
|
||||
|
||||
Reference in New Issue
Block a user