Fixes lint errors

This commit is contained in:
ericdecanini 2022-03-03 14:46:11 +01:00
parent d3d99dd3ba
commit 47d5d09af2
2 changed files with 2 additions and 7 deletions

View file

@ -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)

View file

@ -26,7 +26,6 @@ class MigrateAuthTo005Test {
@Test
fun `when doMigrate, then LoginType field added`() {
migrator.doMigrate(fakeRealm.instance)
fakeRealm.verifyLoginTypeAdded()