From c97a23b39bc57c072dc944164c338922994ae6cb Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 8 Jul 2015 22:08:45 +0200 Subject: [PATCH] fix unit test --- tests/lib_bookmark_test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib_bookmark_test.php b/tests/lib_bookmark_test.php index 8b11cbbd..be626234 100644 --- a/tests/lib_bookmark_test.php +++ b/tests/lib_bookmark_test.php @@ -94,9 +94,9 @@ class Test_LibBookmarks_Bookmarks extends PHPUnit_Framework_TestCase { $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(array($config, $clientService)) ->getMock(); $returnAmazonDe = file_get_contents(__DIR__ . '/res/amazonHtml.file'); $returnGolemDe = file_get_contents(__DIR__ . '/res/golemHtml.file');