mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fix notification center unit tests, setup authorization status return value
This commit is contained in:
committed by
Stefan Ceriu
parent
8cdee0f22d
commit
82527958f7
@@ -40,6 +40,7 @@ final class NotificationManagerTests: XCTestCase {
|
|||||||
AppSettings.resetAllSettings()
|
AppSettings.resetAllSettings()
|
||||||
notificationCenter = UserNotificationCenterMock()
|
notificationCenter = UserNotificationCenterMock()
|
||||||
notificationCenter.requestAuthorizationOptionsReturnValue = true
|
notificationCenter.requestAuthorizationOptionsReturnValue = true
|
||||||
|
notificationCenter.authorizationStatusReturnValue = .authorized
|
||||||
|
|
||||||
notificationManager = NotificationManager(notificationCenter: notificationCenter, appSettings: appSettings)
|
notificationManager = NotificationManager(notificationCenter: notificationCenter, appSettings: appSettings)
|
||||||
notificationManager.start()
|
notificationManager.start()
|
||||||
|
|||||||
Reference in New Issue
Block a user