Skip to content

Commit

Permalink
Use the keychain access group in tests and NSE.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Dec 6, 2022
1 parent e9a8b59 commit e33b711
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NSE/Sources/NotificationServiceExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import UserNotifications

class NotificationServiceExtension: UNNotificationServiceExtension {
private lazy var keychainController = KeychainController(service: .sessions,
accessGroup: InfoPlistReader.target.appGroupIdentifier)
accessGroup: InfoPlistReader.target.keychainAccessGroupIdentifier)
var handler: ((UNNotificationContent) -> Void)?
var modifiedContent: UNMutableNotificationContent?

Expand Down
2 changes: 1 addition & 1 deletion UnitTests/Sources/KeychainControllerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class KeychainControllerTests: XCTestCase {

override func setUp() {
keychain = KeychainController(service: .tests,
accessGroup: InfoPlistReader.target.appGroupIdentifier)
accessGroup: InfoPlistReader.target.keychainAccessGroupIdentifier)
keychain.removeAllRestorationTokens()
}

Expand Down

0 comments on commit e33b711

Please sign in to comment.