summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/updater.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/updater.php b/tests/lib/updater.php
index f847ffc91bf..7a1bc48e1a8 100644
--- a/tests/lib/updater.php
+++ b/tests/lib/updater.php
@@ -88,7 +88,7 @@ class UpdaterTest extends \Test\TestCase {
protected function getUpdaterMock($content){
// Invalidate cache
- $mockedAppConfig = $this->getMockBuilder('\OC\AppConfig')
+ $mockedConfig = $this->getMockBuilder('\OCP\IConfig')
->disableOriginalConstructor()
->getMock()
;
@@ -101,7 +101,7 @@ class UpdaterTest extends \Test\TestCase {
$mockedHTTPHelper->expects($this->once())->method('getUrlContent')->will($this->returnValue($content));
- return new Updater($mockedHTTPHelper, $mockedAppConfig);
+ return new Updater($mockedHTTPHelper, $mockedConfig);
}
}