mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
refactor(tests): returnValue is deprecated
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
b7488550f7
commit
b2e767d98c
1 changed files with 2 additions and 1 deletions
|
|
@ -150,7 +150,8 @@ class FileCacheTest extends TestCache {
|
|||
->method('filemtime')
|
||||
->willReturn(100);
|
||||
$mockStorage->expects($this->atLeastOnce())
|
||||
->method('unlink')->willReturnOnConsecutiveCalls($this->throwException($testException), $this->returnValue(true));
|
||||
->method('unlink')
|
||||
->willReturnOnConsecutiveCalls($this->throwException($testException), true);
|
||||
|
||||
$this->instance->set('key1', 'value1');
|
||||
$this->instance->set('key2', 'value2');
|
||||
|
|
|
|||
Loading…
Reference in a new issue