diff options
Diffstat (limited to 'apps/files_trashbin/tests/StorageTest.php')
-rw-r--r-- | apps/files_trashbin/tests/StorageTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_trashbin/tests/StorageTest.php b/apps/files_trashbin/tests/StorageTest.php index eb4e4635521..6b57d111ea9 100644 --- a/apps/files_trashbin/tests/StorageTest.php +++ b/apps/files_trashbin/tests/StorageTest.php @@ -476,13 +476,13 @@ class StorageTest extends \Test\TestCase { $storage->expects($this->any()) ->method('rename') - ->will($this->returnValue(false)); + ->willReturn(false); $storage->expects($this->any()) ->method('moveFromStorage') - ->will($this->returnValue(false)); + ->willReturn(false); $storage->expects($this->any()) ->method('unlink') - ->will($this->returnValue(false)); + ->willReturn(false); $cache = $storage->getCache(); @@ -513,7 +513,7 @@ class StorageTest extends \Test\TestCase { $storage->expects($this->any()) ->method('rmdir') - ->will($this->returnValue(false)); + ->willReturn(false); $cache = $storage->getCache(); |