mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 18:33:40 +08:00
Make two more tests compatible with PHPUnit 8
This commit is contained in:
parent
531b9ffd82
commit
3a7b4f392b
|
@ -17,7 +17,7 @@ class ListTest extends TestCase
|
|||
{
|
||||
use RetrievesAuthorizedUsers;
|
||||
|
||||
public function setUp()
|
||||
protected function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user