diff --git a/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/db/SessionParamsMapperTest.kt b/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/db/SessionParamsMapperTest.kt index ffacb4b4a5..72b8305b8b 100644 --- a/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/db/SessionParamsMapperTest.kt +++ b/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/db/SessionParamsMapperTest.kt @@ -30,15 +30,13 @@ class SessionParamsMapperTest { @Test fun `when mapping entity, then map as SessionParams`() { - val output = sessionParamsMapper.map(sessionParamsEntity) fakeMoshi.assertSessionParamsWasMappedSuccessfully(output) } @Test - fun `given null input, when mapping entity, then return null`() { - + fun `when mapping null entity, then return null`() { val output = sessionParamsMapper.map(nullSessionParamsEntity) fakeMoshi.assertSessionParamsIsNull(output) @@ -64,15 +62,13 @@ class SessionParamsMapperTest { @Test fun `when mapping sessionParams, then map as SessionParamsEntity`() { - val output = sessionParamsMapper.map(sessionParams) fakeMoshi.assertSessionParamsEntityWasMappedSuccessfully(output) } @Test - fun `given null input, when mapping sessionParams, then return null`() { - + fun `when mapping null sessionParams, then return null`() { val output = sessionParamsMapper.map(nullSessionParams) fakeMoshi.assertSessionParamsEntityWasMappedSuccessfully(output) diff --git a/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/db/migration/MigrateAuthTo005Test.kt b/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/db/migration/MigrateAuthTo005Test.kt index efb7bce378..ab5b1f4c7a 100644 --- a/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/db/migration/MigrateAuthTo005Test.kt +++ b/matrix-sdk-android/src/test/java/org/matrix/android/sdk/internal/auth/db/migration/MigrateAuthTo005Test.kt @@ -26,7 +26,6 @@ class MigrateAuthTo005Test { @Test fun `when doMigrate, then LoginType field added`() { - migrator.doMigrate(fakeRealm.instance) fakeRealm.verifyLoginTypeAdded()