diff options
author | Joas Schilling <coding@schilljs.com> | 2023-02-27 15:32:23 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-02-27 15:32:23 +0100 |
commit | b846ccf934f0f27171c5a068c7592951ca3e1685 (patch) | |
tree | e3b09c7ae414c822e6500edf98c443f76433660e /tests | |
parent | 959141786b9137487276cc0d1510c68fe0c31480 (diff) |
fix(CI): Adjust unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/php/Signaling/BackendNotifierTest.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/php/Signaling/BackendNotifierTest.php b/tests/php/Signaling/BackendNotifierTest.php index 84247b55d..bd9e63e2a 100644 --- a/tests/php/Signaling/BackendNotifierTest.php +++ b/tests/php/Signaling/BackendNotifierTest.php @@ -133,6 +133,14 @@ class BackendNotifierTest extends TestCase { ], ], ])); + $config->setAppValue('spreed', 'recording_servers', json_encode([ + 'secret' => $this->signalingSecret, + 'servers' => [ + [ + 'server' => $this->baseUrl, + ], + ], + ])); $this->signalingManager = $this->createMock(\OCA\Talk\Signaling\Manager::class); $this->signalingManager->expects($this->any()) @@ -218,6 +226,7 @@ class BackendNotifierTest extends TestCase { public function tearDown(): void { $config = \OC::$server->getConfig(); $config->deleteAppValue('spreed', 'signaling_servers'); + $config->deleteAppValue('spreed', 'recording_servers'); $this->restoreService(BackendNotifier::class); parent::tearDown(); } |