Adjust documentcontrollertest
... as document controller class interface has changed now
This commit is contained in:
parent
c166c7b189
commit
11a7819dac
@ -31,6 +31,10 @@ class DocumentControllerTest extends \PHPUnit_Framework_TestCase {
|
|||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
->getMock()
|
->getMock()
|
||||||
;
|
;
|
||||||
|
$this->appConfig = $this->getMockBuilder('\OCP\IConfig')
|
||||||
|
->disableOriginalConstructor()
|
||||||
|
->getMock()
|
||||||
|
;
|
||||||
$this->l10n = $this->getMockBuilder('\OCP\IL10N')
|
$this->l10n = $this->getMockBuilder('\OCP\IL10N')
|
||||||
->disableOriginalConstructor()
|
->disableOriginalConstructor()
|
||||||
->getMock()
|
->getMock()
|
||||||
@ -47,6 +51,7 @@ class DocumentControllerTest extends \PHPUnit_Framework_TestCase {
|
|||||||
$this->appName,
|
$this->appName,
|
||||||
$this->request,
|
$this->request,
|
||||||
$this->settings,
|
$this->settings,
|
||||||
|
$this->appConfig,
|
||||||
$this->l10n,
|
$this->l10n,
|
||||||
$this->uid,
|
$this->uid,
|
||||||
$this->cache,
|
$this->cache,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user