mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Use iOS localization handling for strings. (#803)
This commit is contained in:
@@ -63,7 +63,7 @@ final class NotificationManagerTests: XCTestCase {
|
||||
XCTAssertEqual(clientProxy.setPusherArgument?.appDisplayName, "\(InfoPlistReader.main.bundleDisplayName) (iOS)")
|
||||
XCTAssertEqual(clientProxy.setPusherArgument?.deviceDisplayName, UIDevice.current.name)
|
||||
XCTAssertNotNil(clientProxy.setPusherArgument?.profileTag)
|
||||
XCTAssertEqual(clientProxy.setPusherArgument?.lang, Bundle.preferredLanguages.first)
|
||||
XCTAssertEqual(clientProxy.setPusherArgument?.lang, Bundle.app.preferredLocalizations.first)
|
||||
guard case let .http(data) = clientProxy.setPusherArgument?.kind else {
|
||||
XCTFail("Http kind expected")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user