Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
Bjoern Schiessle 2017-10-17 11:24:01 +02:00
parent cf82aa3f30
commit d8253d64a2
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
2 changed files with 4 additions and 4 deletions

View File

@ -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]);

View File

@ -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())