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

@@ -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);

View File

@@ -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 {