diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-24 14:39:45 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-24 14:39:45 +0100 |
commit | 732541448136d41b97a7fc77f6efb23d6d893f3f (patch) | |
tree | 916c2601fc4ea684a42abe674a3eaa38b97a3ed8 /tests | |
parent | 48cefd9bd51b6239046df87647462219ab1cbbef (diff) | |
parent | 58cedc07b597c3d31b5c757d5a121806c9f07c6e (diff) | |
download | nextcloud-server-732541448136d41b97a7fc77f6efb23d6d893f3f.tar.gz nextcloud-server-732541448136d41b97a7fc77f6efb23d6d893f3f.zip |
Merge pull request #14282 from owncloud/disable-non-shipped-apps-master
3rd-party apps are disabled on upgrade
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); } } |