mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +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()
|
||||
notificationCenter = UserNotificationCenterMock()
|
||||
notificationCenter.requestAuthorizationOptionsReturnValue = true
|
||||
notificationCenter.authorizationStatusReturnValue = .authorized
|
||||
|
||||
notificationManager = NotificationManager(notificationCenter: notificationCenter, appSettings: appSettings)
|
||||
notificationManager.start()
|
||||
|
||||
Reference in New Issue
Block a user