Make two more tests compatible with PHPUnit 8

This commit is contained in:
Franz Liedke 2020-05-02 15:35:18 +02:00 committed by Daniël Klabbers
parent 531b9ffd82
commit 3a7b4f392b
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class ListTest extends TestCase
{
use RetrievesAuthorizedUsers;
public function setUp()
protected function setUp(): void
{
parent::setUp();

View File

@ -21,7 +21,7 @@ class AbstractPolicyTest extends TestCase
private $policy;
private $dispatcher;
public function setUp()
protected function setUp(): void
{
$this->policy = m::mock(CustomUserPolicy::class)->makePartial();
$this->dispatcher = new Dispatcher();