diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-01 11:16:04 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-08-01 11:16:04 +0200 |
commit | 582fb5d129262db3861eae588f4144e61a4f3c3a (patch) | |
tree | a15ae681008f89700a3d40dbb301c98a53df0ceb /tests | |
parent | 2b895e0c60b6f283cb26b2ca0e18a05497103bc2 (diff) | |
download | nextcloud-server-582fb5d129262db3861eae588f4144e61a4f3c3a.tar.gz nextcloud-server-582fb5d129262db3861eae588f4144e61a4f3c3a.zip |
Update the URLs in tests to use example.org
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Settings/Controller/CheckSetupControllerTest.php | 16 | ||||
-rw-r--r-- | tests/lib/Updater/VersionCheckTest.php | 12 |
2 files changed, 14 insertions, 14 deletions
diff --git a/tests/Settings/Controller/CheckSetupControllerTest.php b/tests/Settings/Controller/CheckSetupControllerTest.php index 49931994f02..d0093cc8a9a 100644 --- a/tests/Settings/Controller/CheckSetupControllerTest.php +++ b/tests/Settings/Controller/CheckSetupControllerTest.php @@ -296,11 +296,11 @@ class CheckSetupControllerTest extends TestCase { $this->urlGenerator->expects($this->at(0)) ->method('linkToDocs') ->with('admin-performance') - ->willReturn('http://doc.owncloud.org/server/go.php?to=admin-performance'); + ->willReturn('http://docs.example.org/server/go.php?to=admin-performance'); $this->urlGenerator->expects($this->at(1)) ->method('linkToDocs') ->with('admin-security') - ->willReturn('https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/hardening.html'); + ->willReturn('https://docs.example.org/server/8.1/admin_manual/configuration_server/hardening.html'); $this->checkSetupController ->expects($this->once()) ->method('isPhpOutdated') @@ -316,19 +316,19 @@ class CheckSetupControllerTest extends TestCase { $this->urlGenerator->expects($this->at(3)) ->method('linkToDocs') ->with('admin-code-integrity') - ->willReturn('http://doc.owncloud.org/server/go.php?to=admin-code-integrity'); + ->willReturn('http://docs.example.org/server/go.php?to=admin-code-integrity'); $this->urlGenerator->expects($this->at(4)) ->method('linkToDocs') ->with('admin-php-opcache') - ->willReturn('http://doc.owncloud.org/server/go.php?to=admin-php-opcache'); + ->willReturn('http://docs.example.org/server/go.php?to=admin-php-opcache'); $expected = new DataResponse( [ 'serverHasInternetConnection' => false, 'isMemcacheConfigured' => true, - 'memcacheDocs' => 'http://doc.owncloud.org/server/go.php?to=admin-performance', + 'memcacheDocs' => 'http://docs.example.org/server/go.php?to=admin-performance', 'isUrandomAvailable' => self::invokePrivate($this->checkSetupController, 'isUrandomAvailable'), - 'securityDocs' => 'https://doc.owncloud.org/server/8.1/admin_manual/configuration_server/hardening.html', + 'securityDocs' => 'https://docs.example.org/server/8.1/admin_manual/configuration_server/hardening.html', 'isUsedTlsLibOutdated' => '', 'phpSupported' => [ 'eol' => true, @@ -338,9 +338,9 @@ class CheckSetupControllerTest extends TestCase { 'reverseProxyDocs' => 'reverse-proxy-doc-link', 'isCorrectMemcachedPHPModuleInstalled' => true, 'hasPassedCodeIntegrityCheck' => null, - 'codeIntegrityCheckerDocumentation' => 'http://doc.owncloud.org/server/go.php?to=admin-code-integrity', + 'codeIntegrityCheckerDocumentation' => 'http://docs.example.org/server/go.php?to=admin-code-integrity', 'isOpcacheProperlySetup' => false, - 'phpOpcacheDocumentation' => 'http://doc.owncloud.org/server/go.php?to=admin-php-opcache', + 'phpOpcacheDocumentation' => 'http://docs.example.org/server/go.php?to=admin-php-opcache', 'isSettimelimitAvailable' => true, ] ); diff --git a/tests/lib/Updater/VersionCheckTest.php b/tests/lib/Updater/VersionCheckTest.php index 79c0a88dbf6..6f6c6c1ad0c 100644 --- a/tests/lib/Updater/VersionCheckTest.php +++ b/tests/lib/Updater/VersionCheckTest.php @@ -59,8 +59,8 @@ class VersionCheckTest extends \Test\TestCase { $expectedResult = [ 'version' => '8.0.4.2', 'versionstring' => 'ownCloud 8.0.4', - 'url' => 'https://download.owncloud.org/community/owncloud-8.0.4.zip', - 'web' => 'http://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.html', + 'url' => 'https://download.example.org/community/owncloud-8.0.4.zip', + 'web' => 'http://doc.example.org/server/8.0/admin_manual/maintenance/upgrade.html', ]; $this->config @@ -81,8 +81,8 @@ class VersionCheckTest extends \Test\TestCase { $expectedResult = [ 'version' => '8.0.4.2', 'versionstring' => 'ownCloud 8.0.4', - 'url' => 'https://download.owncloud.org/community/owncloud-8.0.4.zip', - 'web' => 'http://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.html', + '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', ]; @@ -119,8 +119,8 @@ class VersionCheckTest extends \Test\TestCase { <owncloud> <version>8.0.4.2</version> <versionstring>ownCloud 8.0.4</versionstring> - <url>https://download.owncloud.org/community/owncloud-8.0.4.zip</url> - <web>http://doc.owncloud.org/server/8.0/admin_manual/maintenance/upgrade.html</web> + <url>https://download.example.org/community/owncloud-8.0.4.zip</url> + <web>http://doc.example.org/server/8.0/admin_manual/maintenance/upgrade.html</web> <autoupdater>0</autoupdater> </owncloud>'; $this->updater |