summaryrefslogtreecommitdiffstats
path: root/tests/lib/FileChunkingTest.php
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 /tests/lib/FileChunkingTest.php
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 'tests/lib/FileChunkingTest.php')
-rw-r--r--tests/lib/FileChunkingTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/FileChunkingTest.php b/tests/lib/FileChunkingTest.php
index cf0fed251a4..42fc820c5d0 100644
--- a/tests/lib/FileChunkingTest.php
+++ b/tests/lib/FileChunkingTest.php
@@ -47,7 +47,7 @@ class FileChunkingTest extends \Test\TestCase {
* @param $expected
*/
public function testIsComplete($total, array $present, $expected) {
- $fileChunking = $this->getMockBuilder('\OC_FileChunking')
+ $fileChunking = $this->getMockBuilder(\OC_FileChunking::class)
->setMethods(['getCache'])
->setConstructorArgs([[
'name' => 'file',