     private func buildViewModel(withLocation: Bool) -> LocationSharingViewModel {
         LocationSharingViewModel(mapStyleURL: URL(string: "http://empty.com")!,
                                  avatarData: AvatarInput(mxContentUri: "", matrixItemId: "", displayName: ""),
-                                 location: (withLocation ? CLLocationCoordinate2D(latitude: 51.4932641, longitude: -0.257096) : nil))
+                                 location: (withLocation ? CLLocationCoordinate2D(latitude: 51.4932641, longitude: -0.257096) : nil), coordinateType: .generic)
     }
 }

        
        viewModel.completion = { result in
            switch result {
            case .share(let latitude, let longitude):
                XCTAssertEqual(latitude, viewModel.context.viewState.userAnnotation?.coordinate.latitude)
                XCTAssertEqual(longitude, viewModel.context.viewState.userAnnotation?.coordinate.longitude)
                expectation.fulfill()
            case .cancel:
                XCTFail()

        XCTAssertNotNil(viewModel.context.viewState.mapStyleURL)
        XCTAssertNotNil(viewModel.context.viewState.userAvatarData)
        
        XCTAssertNil(viewModel.context.viewState.sharedAnnotation)
        XCTAssertNil(viewModel.context.viewState.bindings.userLocation)
        XCTAssertNil(viewModel.context.viewState.bindings.alertInfo)
    }
