diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-02-22 12:01:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 12:01:43 +0300 |
commit | f10ba8e8676704503fd130b2199d1ba48a5044a2 (patch) | |
tree | 42d63c09490eee7d55fb00d6cf2940b70628b8ed /tests | |
parent | 7323a440a91502d84261d6219a02a5355218a098 (diff) | |
parent | cff8f018bc5b8f15f69462d562e84275d5cc2dd6 (diff) |
Merge pull request #6912 from nextcloud/feature/remove-unused-app-config
Remove unused app config
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/BackgroundJob/CheckHostedSignalingServerTest.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/php/BackgroundJob/CheckHostedSignalingServerTest.php b/tests/php/BackgroundJob/CheckHostedSignalingServerTest.php index 11b0ab978..a187db92a 100644 --- a/tests/php/BackgroundJob/CheckHostedSignalingServerTest.php +++ b/tests/php/BackgroundJob/CheckHostedSignalingServerTest.php @@ -87,9 +87,6 @@ class CheckHostedSignalingServerTest extends TestCase { ['spreed', 'hosted-signaling-server-account-id', '', 'my-account-id'], ['spreed', 'hosted-signaling-server-account', '{}', '{"status": "pending"}'] ])); - $this->config->expects($this->once()) - ->method('setAppValue') - ->with('spreed', 'hosted-signaling-server-account-last-checked', null); $this->hostedSignalingServerService->expects($this->once()) ->method('fetchAccountInfo') @@ -119,12 +116,11 @@ class CheckHostedSignalingServerTest extends TestCase { ->withConsecutive( ['spreed', 'signaling_mode'], ); - $this->config->expects($this->exactly(3)) + $this->config->expects($this->exactly(2)) ->method('setAppValue') ->withConsecutive( ['spreed', 'signaling_servers', '{"servers":[{"server":"signaling-url","verify":true}],"secret":"signaling-secret"}'], - ['spreed', 'hosted-signaling-server-account', json_encode($newStatus)], - ['spreed', 'hosted-signaling-server-account-last-checked', null] + ['spreed', 'hosted-signaling-server-account', json_encode($newStatus)] ); $group = $this->createMock(IGroup::class); |