mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Make the remote settings hook usable within the app extensions. (#4342)
This commit is contained in:
@@ -112,10 +112,10 @@ class BugReportServiceTests: XCTestCase {
|
||||
appHooks: AppHooks())
|
||||
XCTAssertTrue(service.isEnabled)
|
||||
|
||||
appSettings.bugReportRageshakeURL.override(.disabled)
|
||||
appSettings.bugReportRageshakeURL.applyRemoteValue(.disabled)
|
||||
XCTAssertFalse(service.isEnabled)
|
||||
|
||||
appSettings.bugReportRageshakeURL.override(.url("https://bugs.server.net/submit"))
|
||||
appSettings.bugReportRageshakeURL.applyRemoteValue(.url("https://bugs.server.net/submit"))
|
||||
XCTAssertTrue(service.isEnabled)
|
||||
|
||||
let bugReport = BugReport(userID: "@mock:client.com",
|
||||
|
||||
Reference in New Issue
Block a user