mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Fix getMock FileChunkingTest
This commit is contained in:
parent
4da1ee99d6
commit
a819fd3f1e
1 changed files with 3 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue