diff options
Diffstat (limited to 'tests/lib/app/infoparser.php')
-rw-r--r-- | tests/lib/app/infoparser.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/app/infoparser.php b/tests/lib/app/infoparser.php index e291b616e8b..762a3584cd2 100644 --- a/tests/lib/app/infoparser.php +++ b/tests/lib/app/infoparser.php @@ -21,8 +21,9 @@ class InfoParser extends \PHPUnit_Framework_TestCase { public function setUp() { $config = $this->getMockBuilder('\OCP\IConfig') ->disableOriginalConstructor()->getMock(); + $certificateManager = $this->getMock('\OCP\ICertificateManager'); $httpHelper = $this->getMockBuilder('\OC\HTTPHelper') - ->setConstructorArgs(array($config)) + ->setConstructorArgs(array($config, $certificateManager)) ->setMethods(array('getHeaders')) ->getMock(); $urlGenerator = $this->getMockBuilder('\OCP\IURLGenerator') |