Skip to content
Snippets Groups Projects
Unverified Commit a819fd3f authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Fix getMock FileChunkingTest

parent 4da1ee99
No related branches found
No related tags found
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment