summaryrefslogtreecommitdiffstats
path: root/tests/lib/updater.php
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 /tests/lib/updater.php
parent13904a7f8979a87492ac765e05017eb1e4b69588 (diff)
downloadnextcloud-server-5f044ebf1bc6f45acec2e79dc05185acd0405f42.tar.gz
nextcloud-server-5f044ebf1bc6f45acec2e79dc05185acd0405f42.zip
Add wrapper for Guzzle
Diffstat (limited to 'tests/lib/updater.php')
-rw-r--r--tests/lib/updater.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/updater.php b/tests/lib/updater.php
index 7a1bc48e1a8..13b45b3d8e7 100644
--- a/tests/lib/updater.php
+++ b/tests/lib/updater.php
@@ -93,9 +93,9 @@ class UpdaterTest extends \Test\TestCase {
->getMock()
;
- $certificateManager = $this->getMock('\OCP\ICertificateManager');
+ $clientService = $this->getMock('\OCP\Http\Client\IClientService');
$mockedHTTPHelper = $this->getMockBuilder('\OC\HTTPHelper')
- ->setConstructorArgs(array(\OC::$server->getConfig(), $certificateManager))
+ ->setConstructorArgs([\OC::$server->getConfig(), $clientService])
->getMock()
;