diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 19:52:50 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-09-07 20:42:37 +0200 |
commit | a819fd3f1eb455871ce424efc8be311582a1d43a (patch) | |
tree | 18d96e92f939f3fc664a5b9d10fe7eebd4ff2813 /tests | |
parent | 4da1ee99d687d27f82e32f53af74ff52a35c36f9 (diff) | |
download | nextcloud-server-a819fd3f1eb455871ce424efc8be311582a1d43a.tar.gz nextcloud-server-a819fd3f1eb455871ce424efc8be311582a1d43a.zip |
Fix getMock FileChunkingTest
Diffstat (limited to 'tests')
-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') |