Skip to content

Commit

Permalink
Fix notification center unit tests, setup authorization status return…
Browse files Browse the repository at this point in the history
… value
  • Loading branch information
stefanceriu committed Apr 3, 2024
1 parent 8cdee0f commit 8252795
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8252795

Please sign in to comment.