]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove warning 2797/head
authorJoas Schilling <coding@schilljs.com>
Thu, 5 Jan 2017 11:17:01 +0000 (12:17 +0100)
committerJoas Schilling <coding@schilljs.com>
Thu, 5 Jan 2017 11:17:30 +0000 (12:17 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
tests/lib/UserTest.php

index 7a033c2921e9e0dcb3d932ce6c005bf7d342306b..2a477522dea72451af24bdca423469484dc10fbe 100644 (file)
@@ -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);
        }