diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-03-26 11:06:48 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-03-26 11:06:48 +0100 |
commit | 20f5290462cddee766025bd5671430836b054cc8 (patch) | |
tree | a0b33a654f6fa2ed4c75dffd9f65ddd437ada90f /apps/files_encryption | |
parent | c8f0cbab5a994aadfaa9c984bb9959ca872fe781 (diff) | |
parent | 5f044ebf1bc6f45acec2e79dc05185acd0405f42 (diff) | |
download | nextcloud-server-20f5290462cddee766025bd5671430836b054cc8.tar.gz nextcloud-server-20f5290462cddee766025bd5671430836b054cc8.zip |
Merge pull request #15195 from owncloud/reanimate-add-guzzle
Add wrapper for Guzzle
Diffstat (limited to 'apps/files_encryption')
-rwxr-xr-x | apps/files_encryption/tests/share.php | 4 |
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 }}}"))); |