Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-03-26 14:56:14 +0300
committerJoas Schilling <coding@schilljs.com>2018-04-18 14:50:29 +0300
commit5f1f6330c9eadb450e4ca3fe6b5fff58ca00238d (patch)
tree4e4642e1285b7eabbe1acf429a94fa3dc602dacf /tests
parentf7d6eb9ab66d829217fa808a3158b4759ffc9381 (diff)
Show EOL warning in the update section
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Updater/VersionCheckTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/Updater/VersionCheckTest.php b/tests/lib/Updater/VersionCheckTest.php
index 79c0a88dbf6..baf69bf056b 100644
--- a/tests/lib/Updater/VersionCheckTest.php
+++ b/tests/lib/Updater/VersionCheckTest.php
@@ -84,6 +84,7 @@ class VersionCheckTest extends \Test\TestCase {
'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',
+ 'eol' => '1',
];
$this->config
@@ -122,6 +123,7 @@ class VersionCheckTest extends \Test\TestCase {
<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>
+ <eol>1</eol>
</owncloud>';
$this->updater
->expects($this->once())
@@ -179,6 +181,7 @@ class VersionCheckTest extends \Test\TestCase {
'url' => '',
'web' => '',
'autoupdater' => '',
+ 'eol' => '0',
];
$this->config