diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-12 21:53:21 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-13 09:09:53 +0200 |
commit | d616984879d7fcf683f19eb40a842a583c7528e3 (patch) | |
tree | 43ad7d8ea9e9f2f2d8990098b389b79e6b9dc501 /tests/lib/User/DatabaseTest.php | |
parent | 478b86e5e586975f96d57f6ebb6a3b5dbcbdaaea (diff) | |
download | nextcloud-server-d616984879d7fcf683f19eb40a842a583c7528e3.tar.gz nextcloud-server-d616984879d7fcf683f19eb40a842a583c7528e3.zip |
Fix getMock User
Diffstat (limited to 'tests/lib/User/DatabaseTest.php')
-rw-r--r-- | tests/lib/User/DatabaseTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/User/DatabaseTest.php b/tests/lib/User/DatabaseTest.php index 16275f3b6c5..d7e4b9256cb 100644 --- a/tests/lib/User/DatabaseTest.php +++ b/tests/lib/User/DatabaseTest.php @@ -45,7 +45,7 @@ class DatabaseTest extends Backend { protected function setUp() { parent::setUp(); - $this->eventDispatcher = $this->getMock('Symfony\Component\EventDispatcher\EventDispatcher'); + $this->eventDispatcher = $this->createMock(EventDispatcher::class); $this->backend=new \OC\User\Database($this->eventDispatcher); } |