mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Add UTs
This commit is contained in:
+3
-1
@@ -19,7 +19,9 @@ import Foundation
|
||||
struct MockNotificationPushRule: NotificationPushRuleType {
|
||||
var ruleId: String!
|
||||
var enabled: Bool
|
||||
var actions: NotificationActions? = NotificationStandardActions.notifyDefaultSound.actions
|
||||
|
||||
func matches(standardActions: NotificationStandardActions?) -> Bool {
|
||||
false
|
||||
standardActions?.actions == actions
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user