summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-01-05 12:17:01 +0100
committerJoas Schilling <coding@schilljs.com>2017-01-05 15:16:32 +0100
commita3d84428352485084dea95aca3f819fa815d6a48 (patch)
tree5f038f1095416eff5a36495fe83e63d3d497a485 /tests/lib
parent1179471e41ce995a3edc1c310276d4d59945df99 (diff)
downloadnextcloud-server-a3d84428352485084dea95aca3f819fa815d6a48.tar.gz
nextcloud-server-a3d84428352485084dea95aca3f819fa815d6a48.zip
Remove warning
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/UserTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/UserTest.php b/tests/lib/UserTest.php
index 7a033c2921e..2a477522dea 100644
--- a/tests/lib/UserTest.php
+++ b/tests/lib/UserTest.php
@@ -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);
}