Skip to content
Snippets Groups Projects

Fix GetNotificationsReport

Merged Dariusz Rybicki requested to merge fix/get-notifications-report into development
3 files
+ 15
15
Compare changes
  • Side-by-side
  • Inline
Files
3
  • 20f41917
    Refactor · 20f41917
    Dariusz Rybicki authored
    Rename MessengerGetNotificationReport to MessengerGetNotificationReports
import XXClient
import XXClient
import XCTestDynamicOverlay
import XCTestDynamicOverlay
public struct MessengerGetNotificationReport {
public struct MessengerGetNotificationReports {
public enum Error: Swift.Error, Equatable {
public enum Error: Swift.Error, Equatable {
case serviceListMissing
case serviceListMissing
}
}
@@ -13,9 +13,9 @@ public struct MessengerGetNotificationReport {
@@ -13,9 +13,9 @@ public struct MessengerGetNotificationReport {
}
}
}
}
extension MessengerGetNotificationReport {
extension MessengerGetNotificationReports {
public static func live(_ env: MessengerEnvironment) -> MessengerGetNotificationReport {
public static func live(_ env: MessengerEnvironment) -> MessengerGetNotificationReports {
MessengerGetNotificationReport { notificationCSV in
MessengerGetNotificationReports { notificationCSV in
guard let serviceList = env.serviceList() else {
guard let serviceList = env.serviceList() else {
throw Error.serviceListMissing
throw Error.serviceListMissing
}
}
@@ -27,8 +27,8 @@ extension MessengerGetNotificationReport {
@@ -27,8 +27,8 @@ extension MessengerGetNotificationReport {
}
}
}
}
extension MessengerGetNotificationReport {
extension MessengerGetNotificationReports {
public static let unimplemented = MessengerGetNotificationReport(
public static let unimplemented = MessengerGetNotificationReports(
run: XCTUnimplemented("\(Self.self)")
run: XCTUnimplemented("\(Self.self)")
)
)
}
}
Loading