From d8253d64a2099e4d7b24a95ca7207ae239dd6a80 Mon Sep 17 00:00:00 2001
From: Bjoern Schiessle <bjoern@schiessle.org>
Date: Tue, 17 Oct 2017 11:24:01 +0200
Subject: [PATCH] fix url

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
---
 settings/Controller/CheckSetupController.php           | 4 ++--
 tests/Settings/Controller/CheckSetupControllerTest.php | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php
index 86b9b768747..d1da89575fa 100644
--- a/settings/Controller/CheckSetupController.php
+++ b/settings/Controller/CheckSetupController.php
@@ -192,10 +192,10 @@ class CheckSetupController extends Controller {
 		if(strpos($versionString, 'NSS/') === 0) {
 			try {
 				$firstClient = $this->clientService->newClient();
-				$firstClient->get('https://www.owncloud.org/');
+				$firstClient->get('https://nextcloud.com/');
 
 				$secondClient = $this->clientService->newClient();
-				$secondClient->get('https://owncloud.org/');
+				$secondClient->get('https://nextcloud.com/');
 			} catch (ClientException $e) {
 				if($e->getResponse()->getStatusCode() === 400) {
 					return (string) $this->l10n->t('cURL is using an outdated %s version (%s). Please update your operating system or features such as %s will not work reliably.', ['NSS', $versionString, $features]);
diff --git a/tests/Settings/Controller/CheckSetupControllerTest.php b/tests/Settings/Controller/CheckSetupControllerTest.php
index 74e942386b0..e60bf3fd974 100644
--- a/tests/Settings/Controller/CheckSetupControllerTest.php
+++ b/tests/Settings/Controller/CheckSetupControllerTest.php
@@ -481,7 +481,7 @@ class CheckSetupControllerTest extends TestCase {
 
 		$client->expects($this->at(0))
 			->method('get')
-			->with('https://www.owncloud.org/', [])
+			->with('https://nextcloud.com/', [])
 			->will($this->throwException($exception));
 
 		$this->clientService->expects($this->once())
@@ -515,7 +515,7 @@ class CheckSetupControllerTest extends TestCase {
 
 		$client->expects($this->at(0))
 			->method('get')
-			->with('https://www.owncloud.org/', [])
+			->with('https://nextcloud.com/', [])
 			->will($this->throwException($exception));
 
 		$this->clientService->expects($this->once())
-- 
GitLab