diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-03-30 23:19:35 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-04-07 13:30:28 +0200 |
commit | e0ab2c34eab970d82ddc6c9f5b3b752243fc716a (patch) | |
tree | 4e955f621737f191d3b0be909900fa2521f97192 /tests/lib/files/stream | |
parent | e6dc6944c2cd92617818a2fd029ecdb1de5ab663 (diff) | |
download | nextcloud-server-e0ab2c34eab970d82ddc6c9f5b3b752243fc716a.tar.gz nextcloud-server-e0ab2c34eab970d82ddc6c9f5b3b752243fc716a.zip |
update unit tests after ctor signature change of \OC\Encryption\Util
Diffstat (limited to 'tests/lib/files/stream')
-rw-r--r-- | tests/lib/files/stream/encryption.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lib/files/stream/encryption.php b/tests/lib/files/stream/encryption.php index 51ccc3de390..1c5e5cf7a49 100644 --- a/tests/lib/files/stream/encryption.php +++ b/tests/lib/files/stream/encryption.php @@ -23,7 +23,10 @@ class Encryption extends \Test\TestCase { ->disableOriginalConstructor()->getMock(); $encStorage = $this->getMockBuilder('\OC\Files\Storage\Wrapper\Encryption') ->disableOriginalConstructor()->getMock(); - $util = new \OC\Encryption\Util(new View(), new \OC\User\Manager());; + $config = $this->getMockBuilder('\OCP\IConfig') + ->disableOriginalConstructor() + ->getMock(); + $util = new \OC\Encryption\Util(new View(), new \OC\User\Manager(), $config); $size = 12; $unencryptedSize = 8000; |