diff options
author | Robin Appelman <robin@icewind.nl> | 2023-04-21 13:48:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 13:48:12 +0200 |
commit | ccab101df85e8c5878361e7a9fa19480a3d54a96 (patch) | |
tree | f7183efe2acc724de4528ee79df0434c56d5e4fa /tests/lib/Updater/VersionCheckTest.php | |
parent | c08026a92ab020ac327aa7b8d379fc26cfe447bd (diff) | |
parent | b294edad804f40618a96116845615831302d0357 (diff) | |
download | nextcloud-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.php | 10 |
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 |