Fix notification center unit tests, setup authorization status return value
This commit is contained in:
committed by
Stefan Ceriu
parent
8e76cb08b7
commit
b3015b2be0
@@ -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