Skip to content

Commit

Permalink
Update for unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
amddg44 committed Dec 3, 2024
1 parent 2736df6 commit eb7e4af
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,11 @@ fileprivate extension Bundle {

var appGroupName: String {
guard let appGroup = object(forInfoDictionaryKey: Bundle.vaultAppGroupName) as? String else {
#if DEBUG && os(iOS)
return "com.duckduckgo.vault.test"
#else
fatalError("Info.plist is missing \(Bundle.vaultAppGroupName)")
#endif
}
return appGroup
}
Expand Down

0 comments on commit eb7e4af

Please sign in to comment.