diff --git a/RiotTests/Modules/Authentication/Mocks/MockAuthenticationRestClient.swift b/RiotTests/Modules/Authentication/Mocks/MockAuthenticationRestClient.swift index a002bdbdd..56c2f751b 100644 --- a/RiotTests/Modules/Authentication/Mocks/MockAuthenticationRestClient.swift +++ b/RiotTests/Modules/Authentication/Mocks/MockAuthenticationRestClient.swift @@ -216,6 +216,6 @@ class MockAuthenticationRestClient: AuthenticationRestClient { // MARK: Versions func supportedMatrixVersions() async throws -> MXMatrixVersions { - throw MockError.unhandled + return MXMatrixVersions() } }