summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/storage/wrapper/encryption.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-04-15 09:49:50 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-05-06 14:20:02 +0200
commitdc39bda8704d54d7481b9b42d2cea44146d18a3d (patch)
tree8f449397060624c1cdd38e715518adf54832a377 /tests/lib/files/storage/wrapper/encryption.php
parentf2d46693c6a7633c27db0b0cbe5dea57525d809e (diff)
downloadnextcloud-server-dc39bda8704d54d7481b9b42d2cea44146d18a3d.tar.gz
nextcloud-server-dc39bda8704d54d7481b9b42d2cea44146d18a3d.zip
move/copy from storage
Diffstat (limited to 'tests/lib/files/storage/wrapper/encryption.php')
-rw-r--r--tests/lib/files/storage/wrapper/encryption.php19
1 files changed, 10 insertions, 9 deletions
diff --git a/tests/lib/files/storage/wrapper/encryption.php b/tests/lib/files/storage/wrapper/encryption.php
index 6c593bb7749..bc803f5f875 100644
--- a/tests/lib/files/storage/wrapper/encryption.php
+++ b/tests/lib/files/storage/wrapper/encryption.php
@@ -106,15 +106,17 @@ class Encryption extends \Test\Files\Storage\Storage {
->willReturn(['encrypted' => false]);
$this->instance = $this->getMockBuilder('\OC\Files\Storage\Wrapper\Encryption')
- ->setConstructorArgs([
+ ->setConstructorArgs(
[
- 'storage' => $this->sourceStorage,
- 'root' => 'foo',
- 'mountPoint' => '/',
- 'mount' => $mount
- ],
- $this->encryptionManager, $this->util, $logger, $file, null, $this->keyStore, $this->update
- ])
+ [
+ 'storage' => $this->sourceStorage,
+ 'root' => 'foo',
+ 'mountPoint' => '/',
+ 'mount' => $mount
+ ],
+ $this->encryptionManager, $this->util, $logger, $file, null, $this->keyStore, $this->update
+ ]
+ )
->setMethods(['getMetaData', 'getCache'])
->getMock();
@@ -125,7 +127,6 @@ class Encryption extends \Test\Files\Storage\Storage {
$this->instance->expects($this->any())
->method('getCache')
->willReturn($this->cache);
-
}
/**