diff options
-rw-r--r-- | tests/lib/FileChunkingTest.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/FileChunkingTest.php b/tests/lib/FileChunkingTest.php index 66888285d23..cf0fed251a4 100644 --- a/tests/lib/FileChunkingTest.php +++ b/tests/lib/FileChunkingTest.php @@ -20,6 +20,8 @@ */ namespace Test; +use OCP\ICache; + class FileChunkingTest extends \Test\TestCase { public function dataIsComplete() { @@ -54,7 +56,7 @@ class FileChunkingTest extends \Test\TestCase { ]]) ->getMock(); - $cache = $this->getMock('\OCP\ICache'); + $cache = $this->createMock(ICache::class); $cache->expects($this->atLeastOnce()) ->method('hasKey') |