summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Comments
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-10-25 00:03:28 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-10-26 10:16:12 +0200
commitab36980d20feb895d9b33ff5dbaacc2cd9fbd3fc (patch)
treeb5165a41d54f8d9e1fae58a69961a6d1c75fb6b4 /apps/dav/tests/unit/Comments
parenta82b56b1c7146ddb3085f3e03e18be4700d95a0e (diff)
downloadnextcloud-server-ab36980d20feb895d9b33ff5dbaacc2cd9fbd3fc.tar.gz
nextcloud-server-ab36980d20feb895d9b33ff5dbaacc2cd9fbd3fc.zip
Use ::class in test mocks of dav app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav/tests/unit/Comments')
-rw-r--r--apps/dav/tests/unit/Comments/CommentsNodeTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/tests/unit/Comments/CommentsNodeTest.php b/apps/dav/tests/unit/Comments/CommentsNodeTest.php
index 57a15a6dc76..a0ff029efa7 100644
--- a/apps/dav/tests/unit/Comments/CommentsNodeTest.php
+++ b/apps/dav/tests/unit/Comments/CommentsNodeTest.php
@@ -33,6 +33,7 @@ use OCP\ILogger;
use OCP\IUser;
use OCP\IUserManager;
use OCP\IUserSession;
+use Sabre\DAV\PropPatch;
class CommentsNodeTest extends \Test\TestCase {
@@ -361,7 +362,7 @@ class CommentsNodeTest extends \Test\TestCase {
}
public function testPropPatch() {
- $propPatch = $this->getMockBuilder('Sabre\DAV\PropPatch')
+ $propPatch = $this->getMockBuilder(PropPatch::class)
->disableOriginalConstructor()
->getMock();