diff options
author | Joas Schilling <coding@schilljs.com> | 2018-03-14 14:21:49 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-03-20 15:52:30 +0100 |
commit | ec1e0397901f12cd1c9dc99eab60d6464cac5a0b (patch) | |
tree | ffc03af8a2d89d3ffb610c104f401f86a1f4c543 /tests/lib/Updater | |
parent | 64feb3f3912f0976bb028f5d56a6434c55085925 (diff) | |
download | nextcloud-server-ec1e0397901f12cd1c9dc99eab60d6464cac5a0b.tar.gz nextcloud-server-ec1e0397901f12cd1c9dc99eab60d6464cac5a0b.zip |
Show EOL warning in the update section
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Updater')
-rw-r--r-- | tests/lib/Updater/VersionCheckTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/Updater/VersionCheckTest.php b/tests/lib/Updater/VersionCheckTest.php index 89a335722d7..216510b6628 100644 --- a/tests/lib/Updater/VersionCheckTest.php +++ b/tests/lib/Updater/VersionCheckTest.php @@ -85,6 +85,7 @@ class VersionCheckTest extends \Test\TestCase { 'url' => 'https://download.example.org/community/owncloud-8.0.4.zip', 'web' => 'http://doc.example.org/server/8.0/admin_manual/maintenance/upgrade.html', 'autoupdater' => '0', + 'eol' => '1', ]; $this->config @@ -123,6 +124,7 @@ class VersionCheckTest extends \Test\TestCase { <url>https://download.example.org/community/owncloud-8.0.4.zip</url> <web>http://doc.example.org/server/8.0/admin_manual/maintenance/upgrade.html</web> <autoupdater>0</autoupdater> + <eol>1</eol> </owncloud>'; $this->updater ->expects($this->once()) @@ -180,6 +182,7 @@ class VersionCheckTest extends \Test\TestCase { 'url' => '', 'web' => '', 'autoupdater' => '', + 'eol' => '0', ]; $this->config @@ -273,6 +276,7 @@ class VersionCheckTest extends \Test\TestCase { 'url' => '', 'web' => '', 'autoupdater' => '', + 'eol' => '0', ]; $this->config |