Remove warning
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
6acfea61d0
commit
7ba665b11d
|
@ -25,7 +25,7 @@ class UserTest extends TestCase {
|
|||
protected function setUp(){
|
||||
parent::setUp();
|
||||
|
||||
$this->backend = $this->getMock('\Test\Util\User\Dummy');
|
||||
$this->backend = $this->createMock(\Test\Util\User\Dummy::class);
|
||||
$manager = \OC::$server->getUserManager();
|
||||
$manager->registerBackend($this->backend);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue