Log whether a notification is expected to make a noise. (#3782)

* Log whether a notification is expected to make a noise.

* Also log the system notification sound setting too.
This commit is contained in:
Doug
2025-02-11 09:59:46 +00:00
committed by GitHub
parent 8680d8437b
commit f6a1d38972
5 changed files with 74 additions and 1 deletions
@@ -30,6 +30,7 @@ final class NotificationManagerTests: XCTestCase {
notificationCenter = UserNotificationCenterMock()
notificationCenter.requestAuthorizationOptionsReturnValue = true
notificationCenter.authorizationStatusReturnValue = .authorized
notificationCenter.notificationSettingsClosure = { await UNUserNotificationCenter.current().notificationSettings() }
notificationManager = NotificationManager(notificationCenter: notificationCenter, appSettings: appSettings)
notificationManager.start()