summaryrefslogtreecommitdiffstats
path: root/tests/lib/FileChunkingTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/FileChunkingTest.php')
-rw-r--r--tests/lib/FileChunkingTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/FileChunkingTest.php b/tests/lib/FileChunkingTest.php
index 75a6913d4ad..7cbabe697a4 100644
--- a/tests/lib/FileChunkingTest.php
+++ b/tests/lib/FileChunkingTest.php
@@ -61,10 +61,10 @@ class FileChunkingTest extends \Test\TestCase {
$cache->expects($this->atLeastOnce())
->method('hasKey')
- ->will($this->returnCallback(function ($key) use ($present) {
+ ->willReturnCallback(function ($key) use ($present) {
$data = explode('-', $key);
return in_array($data[3], $present);
- }));
+ });
$fileChunking->method('getCache')->willReturn($cache);