diff --git a/ElementX/Sources/Services/Location/CLLocationManagerProtocol.swift b/ElementX/Sources/Services/Location/CLLocationManagerProtocol.swift index c22d797e4..fc66843b6 100644 --- a/ElementX/Sources/Services/Location/CLLocationManagerProtocol.swift +++ b/ElementX/Sources/Services/Location/CLLocationManagerProtocol.swift @@ -8,7 +8,6 @@ import CoreLocation /// Protocol for CLLocationManager used for authorization handling and location updates. -// sourcery: AutoMockable protocol CLLocationManagerProtocol: AnyObject { var delegate: CLLocationManagerDelegate? { get set } var allowsBackgroundLocationUpdates: Bool { get set } @@ -24,4 +23,7 @@ protocol CLLocationManagerProtocol: AnyObject { func stopUpdatingLocation() } +// sourcery: AutoMockable +extension CLLocationManagerProtocol { } + extension CLLocationManager: CLLocationManagerProtocol { }