Browse Source

Adjust documentcontrollertest

... as document controller class interface has changed now
tags/1.1.22
Pranav Kant 3 years ago
parent
commit
11a7819dac
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      tests/controller/documentcontrollertest.php

+ 5
- 0
tests/controller/documentcontrollertest.php View File

@@ -31,6 +31,10 @@ class DocumentControllerTest extends \PHPUnit_Framework_TestCase {
->disableOriginalConstructor()
->getMock()
;
$this->appConfig = $this->getMockBuilder('\OCP\IConfig')
->disableOriginalConstructor()
->getMock()
;
$this->l10n = $this->getMockBuilder('\OCP\IL10N')
->disableOriginalConstructor()
->getMock()
@@ -47,6 +51,7 @@ class DocumentControllerTest extends \PHPUnit_Framework_TestCase {
$this->appName,
$this->request,
$this->settings,
$this->appConfig,
$this->l10n,
$this->uid,
$this->cache,

Loading…
Cancel
Save