mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:06:00 +00:00
Allow overriding the push gateway. (#3970)
This commit is contained in:
@@ -73,7 +73,7 @@ final class NotificationManagerTests: XCTestCase {
|
||||
}
|
||||
|
||||
XCTAssertEqual(configuration.identifiers.pushkey, pushkeyData.base64EncodedString())
|
||||
XCTAssertEqual(configuration.identifiers.appId, appSettings.pusherAppId)
|
||||
XCTAssertEqual(configuration.identifiers.appId, appSettings.pusherAppID)
|
||||
XCTAssertEqual(configuration.appDisplayName, "\(InfoPlistReader.main.bundleDisplayName) (iOS)")
|
||||
XCTAssertEqual(configuration.deviceDisplayName, UIDevice.current.name)
|
||||
XCTAssertNotNil(configuration.profileTag)
|
||||
@@ -82,7 +82,7 @@ final class NotificationManagerTests: XCTestCase {
|
||||
XCTFail("Http kind expected")
|
||||
return
|
||||
}
|
||||
XCTAssertEqual(data.url, appSettings.pushGatewayBaseURL.absoluteString)
|
||||
XCTAssertEqual(data.url, appSettings.pushGatewayNotifyEndpoint.absoluteString)
|
||||
XCTAssertEqual(data.format, .eventIdOnly)
|
||||
let defaultPayload = APNSPayload(aps: APSInfo(mutableContent: 1,
|
||||
alert: APSAlert(locKey: "Notification",
|
||||
|
||||
Reference in New Issue
Block a user