Skip to content

Commit 70569d4

Browse files
committed
refactor(tests): returnValue is deprecated
Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 88dd761 commit 70569d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/lib/Cache/FileCacheTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ public function testGarbageCollectIgnoreLockedKeys($testException): void {
150150
->method('filemtime')
151151
->willReturn(100);
152152
$mockStorage->expects($this->atLeastOnce())
153-
->method('unlink')->willReturnOnConsecutiveCalls($this->throwException($testException), $this->returnValue(true));
153+
->method('unlink')
154+
->willReturnOnConsecutiveCalls($this->throwException($testException), true);
154155

155156
$this->instance->set('key1', 'value1');
156157
$this->instance->set('key2', 'value2');

0 commit comments

Comments
 (0)