diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-10-17 11:24:01 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2017-10-17 11:24:01 +0200 |
commit | e964f83f28c49402678478774a2d1f62b02205d8 (patch) | |
tree | 04bb5f96751a0b3fb47364073ff794f592d19a64 | |
parent | be71ce32dcbe1856fe6e28cdfdfecfb399c6fb12 (diff) | |
download | nextcloud-server-e964f83f28c49402678478774a2d1f62b02205d8.tar.gz nextcloud-server-e964f83f28c49402678478774a2d1f62b02205d8.zip |
fix url
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
-rw-r--r-- | settings/Controller/CheckSetupController.php | 4 | ||||
-rw-r--r-- | 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 58de0f4e6d1..151e546e558 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -214,10 +214,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 d0093cc8a9a..74eee3fea41 100644 --- a/tests/Settings/Controller/CheckSetupControllerTest.php +++ b/tests/Settings/Controller/CheckSetupControllerTest.php @@ -467,7 +467,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()) @@ -501,7 +501,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()) |