mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-01-21 17:52:10 +01:00
fix unit test
This commit is contained in:
parent
1b4be5de3f
commit
c97a23b39b
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user