aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Updater/VersionCheckTest.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-04-21 13:48:12 +0200
committerGitHub <noreply@github.com>2023-04-21 13:48:12 +0200
commitccab101df85e8c5878361e7a9fa19480a3d54a96 (patch)
treef7183efe2acc724de4528ee79df0434c56d5e4fa /tests/lib/Updater/VersionCheckTest.php
parentc08026a92ab020ac327aa7b8d379fc26cfe447bd (diff)
parentb294edad804f40618a96116845615831302d0357 (diff)
downloadnextcloud-server-ccab101df85e8c5878361e7a9fa19480a3d54a96.tar.gz
nextcloud-server-ccab101df85e8c5878361e7a9fa19480a3d54a96.zip
Merge pull request #37596 from nextcloud/enh/type-iconfig-getter-calls
Use typed version of IConfig::getSystemValue as much as possible
Diffstat (limited to 'tests/lib/Updater/VersionCheckTest.php')
-rw-r--r--tests/lib/Updater/VersionCheckTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/lib/Updater/VersionCheckTest.php b/tests/lib/Updater/VersionCheckTest.php
index 85c74db2ca6..1cd632875c3 100644
--- a/tests/lib/Updater/VersionCheckTest.php
+++ b/tests/lib/Updater/VersionCheckTest.php
@@ -118,7 +118,7 @@ class VersionCheckTest extends \Test\TestCase {
);
$this->config
->expects($this->once())
- ->method('getSystemValue')
+ ->method('getSystemValueString')
->with('updater.server.url', 'https://updates.nextcloud.com/updater_server/')
->willReturnArgument(1);
$this->config
@@ -170,7 +170,7 @@ class VersionCheckTest extends \Test\TestCase {
);
$this->config
->expects($this->once())
- ->method('getSystemValue')
+ ->method('getSystemValueString')
->with('updater.server.url', 'https://updates.nextcloud.com/updater_server/')
->willReturnArgument(1);
$this->config
@@ -224,7 +224,7 @@ class VersionCheckTest extends \Test\TestCase {
);
$this->config
->expects($this->once())
- ->method('getSystemValue')
+ ->method('getSystemValueString')
->with('updater.server.url', 'https://updates.nextcloud.com/updater_server/')
->willReturnArgument(1);
$this->config
@@ -277,7 +277,7 @@ class VersionCheckTest extends \Test\TestCase {
);
$this->config
->expects($this->once())
- ->method('getSystemValue')
+ ->method('getSystemValueString')
->with('updater.server.url', 'https://updates.nextcloud.com/updater_server/')
->willReturnArgument(1);
$this->config
@@ -331,7 +331,7 @@ class VersionCheckTest extends \Test\TestCase {
);
$this->config
->expects($this->once())
- ->method('getSystemValue')
+ ->method('getSystemValueString')
->with('updater.server.url', 'https://updates.nextcloud.com/updater_server/')
->willReturnArgument(1);
$this->config