diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-10-12 17:43:44 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-16 21:41:51 +0200 |
commit | 8efd037eb89bfc7d4793ce856e4a429141ffe222 (patch) | |
tree | 2197008d7b0e954cc7c7302735aa33864d2ab04e /apps/encryption | |
parent | e46741cf5d222088cc20256462a6d93f85ac27c5 (diff) | |
download | nextcloud-server-8efd037eb89bfc7d4793ce856e4a429141ffe222.tar.gz nextcloud-server-8efd037eb89bfc7d4793ce856e4a429141ffe222.zip |
Make shared folder size propagation test work with object home storage
Diffstat (limited to 'apps/encryption')
-rw-r--r-- | apps/encryption/tests/lib/MigrationTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/tests/lib/MigrationTest.php b/apps/encryption/tests/lib/MigrationTest.php index 6146e4e7cfb..d701aaff0d3 100644 --- a/apps/encryption/tests/lib/MigrationTest.php +++ b/apps/encryption/tests/lib/MigrationTest.php @@ -176,7 +176,7 @@ class MigrationTest extends \Test\TestCase { )->setMethods(['getSystemMountPoints'])->getMock(); $m->expects($this->any())->method('getSystemMountPoints') - ->willReturn([['mountpoint' => 'folder1'], ['mountpoint' => 'folder2']]); + ->will($this->returnValue([['mountpoint' => 'folder1'], ['mountpoint' => 'folder2']])); $m->reorganizeFolderStructure(); // even if it runs twice folder should always move only once |