summaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests/lib/MigrationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption/tests/lib/MigrationTest.php')
-rw-r--r--apps/encryption/tests/lib/MigrationTest.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/encryption/tests/lib/MigrationTest.php b/apps/encryption/tests/lib/MigrationTest.php
index 6edb8624e70..18f7c8b35d5 100644
--- a/apps/encryption/tests/lib/MigrationTest.php
+++ b/apps/encryption/tests/lib/MigrationTest.php
@@ -512,13 +512,9 @@ class MigrationTest extends \Test\TestCase {
*/
public function testGetTargetDir($user, $keyPath, $filename, $trash, $systemMounts, $expected) {
- $updater = $this->getMockBuilder('\OC\Files\Cache\Updater')
- ->disableOriginalConstructor()->getMock();
$view = $this->getMockBuilder('\OC\Files\View')
->disableOriginalConstructor()->getMock();
$view->expects($this->any())->method('file_exists')->willReturn(true);
- $view->expects($this->any())->method('getUpdater')->willReturn($updater);
-
$m = $this->getMockBuilder('OCA\Encryption\Migration')
->setConstructorArgs(