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 0cf4772 commit 2736df6
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,11 @@ private extension Bundle {
var appGroupPrefix: String {
let groupIdPrefixKey = "DuckDuckGoGroupIdentifierPrefix"
guard let groupIdPrefix = Bundle.main.object(forInfoDictionaryKey: groupIdPrefixKey) as? String else {
#if DEBUG && os(iOS)
return "group.com.duckduckgo.test"
#else
fatalError("Info.plist must contain a \"\(groupIdPrefixKey)\" entry with a string value")
#endif
}
return groupIdPrefix
}
Expand Down

0 comments on commit 2736df6

Please sign in to comment.