diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-10-26 13:26:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 13:26:00 +0200 |
commit | 06f46bd25614c080b75558e8372124142906d977 (patch) | |
tree | 042b47969c82ef217c87c18ae34d8856468007e1 /apps/dav/tests/unit/Comments/CommentsNodeTest.php | |
parent | a9f78856b55584d5a40c731adc6f6fb188f261dd (diff) | |
parent | 3f107e59dd50bcd427d867856e67dd827ea62547 (diff) | |
download | nextcloud-server-06f46bd25614c080b75558e8372124142906d977.tar.gz nextcloud-server-06f46bd25614c080b75558e8372124142906d977.zip |
Merge pull request #6939 from nextcloud/class-usage-in-mocks-dav-app
Use ::class in test mocks of dav app
Diffstat (limited to 'apps/dav/tests/unit/Comments/CommentsNodeTest.php')
-rw-r--r-- | apps/dav/tests/unit/Comments/CommentsNodeTest.php | 3 |
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(); |