adjust test
This commit is contained in:
parent
89959a856c
commit
8f1a609512
|
@ -318,9 +318,15 @@ class Storage extends \Test\TestCase {
|
|||
*/
|
||||
$storage = $this->getMockBuilder('\OC\Files\Storage\Temporary')
|
||||
->setConstructorArgs([[]])
|
||||
->setMethods(['rename', 'unlink'])
|
||||
->setMethods(['rename', 'unlink', 'moveFromStorage'])
|
||||
->getMock();
|
||||
|
||||
$storage->expects($this->any())
|
||||
->method('rename')
|
||||
->will($this->returnValue(false));
|
||||
$storage->expects($this->any())
|
||||
->method('moveFromStorage')
|
||||
->will($this->returnValue(false));
|
||||
$storage->expects($this->any())
|
||||
->method('unlink')
|
||||
->will($this->returnValue(false));
|
||||
|
|
Loading…
Reference in New Issue