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:46:25 +0300
commit6b97429ebe3d4e58137cfd0117f9cd4ecca7ebd3 (patch)
tree430a7fdef594b1a844ac6883c39b0d915c515ce8 /tests
parentfa65aaf1fc8836e1a0e5ee1ffe38ee032a487892 (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.php4
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