diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-17 12:00:39 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-24 12:02:36 +0100 |
commit | bbf7f56f949f48ec0cf95d416b431d0cd739582f (patch) | |
tree | adb18b5b46738e81093444ae1fa860e48647373a /tests | |
parent | e5c6af51027f786d74f859584f0aa6c85db6ead6 (diff) | |
download | nextcloud-server-bbf7f56f949f48ec0cf95d416b431d0cd739582f.tar.gz nextcloud-server-bbf7f56f949f48ec0cf95d416b431d0cd739582f.zip |
3rd-party apps are disabled on upgrade - refs #14026
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/updater.php | 4 |
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); } } |