summaryrefslogtreecommitdiffstats
path: root/tests/lib/Updater/VersionCheckTest.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-09-07 17:15:03 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-09-07 17:27:41 +0200
commit2d9574db3433dc29076521325d6b44f28b3c58fa (patch)
tree645206a9bdb686814ca5db793ab8d072aaa17950 /tests/lib/Updater/VersionCheckTest.php
parent05580f02428c81bc66d165d3303bfcf433dd746f (diff)
downloadnextcloud-server-2d9574db3433dc29076521325d6b44f28b3c58fa.tar.gz
nextcloud-server-2d9574db3433dc29076521325d6b44f28b3c58fa.zip
fix tests
Diffstat (limited to 'tests/lib/Updater/VersionCheckTest.php')
-rw-r--r--tests/lib/Updater/VersionCheckTest.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/lib/Updater/VersionCheckTest.php b/tests/lib/Updater/VersionCheckTest.php
index 5283ca9c555..e39c9362a14 100644
--- a/tests/lib/Updater/VersionCheckTest.php
+++ b/tests/lib/Updater/VersionCheckTest.php
@@ -91,8 +91,8 @@ class VersionCheckTest extends \Test\TestCase {
$this->config
->expects($this->at(1))
->method('getSystemValue')
- ->with('updater.server.url', 'https://updates.owncloud.com/server/')
- ->willReturn('https://updates.owncloud.com/server/');
+ ->with('updater.server.url', 'https://updates.nextcloud.com/server/')
+ ->willReturn('https://updates.nextcloud.com/server/');
$this->config
->expects($this->at(2))
->method('setAppValue')
@@ -122,7 +122,7 @@ class VersionCheckTest extends \Test\TestCase {
$this->updater
->expects($this->once())
->method('getUrlContent')
- ->with($this->buildUpdateUrl('https://updates.owncloud.com/server/'))
+ ->with($this->buildUpdateUrl('https://updates.nextcloud.com/server/'))
->will($this->returnValue($updateXml));
$this->assertSame($expectedResult, $this->updater->check());
@@ -137,8 +137,8 @@ class VersionCheckTest extends \Test\TestCase {
$this->config
->expects($this->at(1))
->method('getSystemValue')
- ->with('updater.server.url', 'https://updates.owncloud.com/server/')
- ->willReturn('https://updates.owncloud.com/server/');
+ ->with('updater.server.url', 'https://updates.nextcloud.com/server/')
+ ->willReturn('https://updates.nextcloud.com/server/');
$this->config
->expects($this->at(2))
->method('setAppValue')
@@ -162,7 +162,7 @@ class VersionCheckTest extends \Test\TestCase {
$this->updater
->expects($this->once())
->method('getUrlContent')
- ->with($this->buildUpdateUrl('https://updates.owncloud.com/server/'))
+ ->with($this->buildUpdateUrl('https://updates.nextcloud.com/server/'))
->will($this->returnValue($updateXml));
$this->assertSame([], $this->updater->check());
@@ -184,8 +184,8 @@ class VersionCheckTest extends \Test\TestCase {
$this->config
->expects($this->at(1))
->method('getSystemValue')
- ->with('updater.server.url', 'https://updates.owncloud.com/server/')
- ->willReturn('https://updates.owncloud.com/server/');
+ ->with('updater.server.url', 'https://updates.nextcloud.com/server/')
+ ->willReturn('https://updates.nextcloud.com/server/');
$this->config
->expects($this->at(2))
->method('setAppValue')
@@ -211,7 +211,7 @@ class VersionCheckTest extends \Test\TestCase {
$this->updater
->expects($this->once())
->method('getUrlContent')
- ->with($this->buildUpdateUrl('https://updates.owncloud.com/server/'))
+ ->with($this->buildUpdateUrl('https://updates.nextcloud.com/server/'))
->will($this->returnValue($updateXml));
$this->assertSame($expectedResult, $this->updater->check());
@@ -228,8 +228,8 @@ class VersionCheckTest extends \Test\TestCase {
$this->config
->expects($this->at(1))
->method('getSystemValue')
- ->with('updater.server.url', 'https://updates.owncloud.com/server/')
- ->willReturn('https://updates.owncloud.com/server/');
+ ->with('updater.server.url', 'https://updates.nextcloud.com/server/')
+ ->willReturn('https://updates.nextcloud.com/server/');
$this->config
->expects($this->at(2))
->method('setAppValue')
@@ -253,7 +253,7 @@ class VersionCheckTest extends \Test\TestCase {
$this->updater
->expects($this->once())
->method('getUrlContent')
- ->with($this->buildUpdateUrl('https://updates.owncloud.com/server/'))
+ ->with($this->buildUpdateUrl('https://updates.nextcloud.com/server/'))
->will($this->returnValue($updateXml));
$this->assertSame($expectedResult, $this->updater->check());