diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-27 15:06:59 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-09-27 15:06:59 +0200 |
commit | 182f6ec6c6ed46dffc00cd9aea0b6d16ff3150a1 (patch) | |
tree | a26f07c6e3a8cc4e0ec505b670cc651a09231905 /tests | |
parent | abce80b55a382d4589623eba25c9f1dc013e49b2 (diff) | |
download | nextcloud-server-182f6ec6c6ed46dffc00cd9aea0b6d16ff3150a1.tar.gz nextcloud-server-182f6ec6c6ed46dffc00cd9aea0b6d16ff3150a1.zip |
Return the autoupdater value from the server
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/updater.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/updater.php b/tests/lib/updater.php index 2ceb2604076..4e8b9d19651 100644 --- a/tests/lib/updater.php +++ b/tests/lib/updater.php @@ -212,6 +212,7 @@ class UpdaterTest extends \Test\TestCase { 'versionstring' => 'ownCloud 8.0.4', 'url' => 'https://download.owncloud.org/community/owncloud-8.0.4.zip', 'web' => 'http://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.html', + 'autoupdater' => '0', ]; $this->config @@ -249,6 +250,7 @@ class UpdaterTest extends \Test\TestCase { <versionstring>ownCloud 8.0.4</versionstring> <url>https://download.owncloud.org/community/owncloud-8.0.4.zip</url> <web>http://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.html</web> + <autoupdater>0</autoupdater> </owncloud>'; $this->httpHelper ->expects($this->once()) @@ -305,6 +307,7 @@ class UpdaterTest extends \Test\TestCase { 'versionstring' => '', 'url' => '', 'web' => '', + 'autoupdater' => '', ]; $this->config @@ -338,6 +341,7 @@ class UpdaterTest extends \Test\TestCase { <versionstring></versionstring> <url></url> <web></web> + <autoupdater></autoupdater> </owncloud>'; $this->httpHelper ->expects($this->once()) |