diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index d9e4846672c..8a044071e56 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -213,10 +213,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 f087fec2105..7e0147a05ef 100644 --- a/tests/Settings/Controller/CheckSetupControllerTest.php +++ b/tests/Settings/Controller/CheckSetupControllerTest.php @@ -454,7 +454,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()) @@ -488,7 +488,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())