aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-03-16 11:28:23 +0100
committerLukas Reschke <lukas@owncloud.com>2015-03-25 16:04:41 +0100
commit5f044ebf1bc6f45acec2e79dc05185acd0405f42 (patch)
tree8bc8797ef55588d3aab1b160acb3e2f5576d460f /apps/files_encryption
parent13904a7f8979a87492ac765e05017eb1e4b69588 (diff)
downloadnextcloud-server-5f044ebf1bc6f45acec2e79dc05185acd0405f42.tar.gz
nextcloud-server-5f044ebf1bc6f45acec2e79dc05185acd0405f42.zip
Add wrapper for Guzzle
Diffstat (limited to 'apps/files_encryption')
-rwxr-xr-xapps/files_encryption/tests/share.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/tests/share.php b/apps/files_encryption/tests/share.php
index a59838ede1c..8ab6a01c02e 100755
--- a/apps/files_encryption/tests/share.php
+++ b/apps/files_encryption/tests/share.php
@@ -122,9 +122,9 @@ class Share extends TestCase {
private function createMocks() {
$config = $this->getMockBuilder('\OCP\IConfig')
->disableOriginalConstructor()->getMock();
- $certificateManager = $this->getMock('\OCP\ICertificateManager');
+ $clientService = $this->getMock('\OCP\Http\Client\IClientService');
$httpHelperMock = $this->getMockBuilder('\OC\HTTPHelper')
- ->setConstructorArgs(array($config, $certificateManager))
+ ->setConstructorArgs([$config, $clientService])
->getMock();
$httpHelperMock->expects($this->any())->method('post')->with($this->anything())->will($this->returnValue(array('success' => true, 'result' => "{'ocs' : { 'meta' : { 'statuscode' : 100 }}}")));