diff options
author | Joas Schilling <coding@schilljs.com> | 2017-01-05 12:17:01 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-01-05 12:17:30 +0100 |
commit | 7ba665b11d226482754d4414ec032f005136aa05 (patch) | |
tree | 33fb2d26333335ceb2fac7cb10501d769a9a42cd /tests | |
parent | 6acfea61d0a1efd34040b45e7a3f985759125096 (diff) | |
download | nextcloud-server-7ba665b11d226482754d4414ec032f005136aa05.tar.gz nextcloud-server-7ba665b11d226482754d4414ec032f005136aa05.zip |
Remove warning
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/UserTest.php | 2 |
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); } |