From ec1e0397901f12cd1c9dc99eab60d6464cac5a0b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 14 Mar 2018 14:21:49 +0100 Subject: Show EOL warning in the update section Signed-off-by: Joas Schilling --- tests/lib/Updater/VersionCheckTest.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/lib') 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 { https://download.example.org/community/owncloud-8.0.4.zip http://doc.example.org/server/8.0/admin_manual/maintenance/upgrade.html 0 + 1 '; $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 -- cgit v1.2.3