mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Make two more tests compatible with PHPUnit 8
This commit is contained in:
committed by
Daniël Klabbers
parent
531b9ffd82
commit
3a7b4f392b
@@ -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();
|
||||
|
Reference in New Issue
Block a user