mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-26 19:08:44 +03:00
Fixes lint errors
This commit is contained in:
parent
d3d99dd3ba
commit
47d5d09af2
2 changed files with 2 additions and 7 deletions
|
@ -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)
|
||||
|
|
|
@ -26,7 +26,6 @@ class MigrateAuthTo005Test {
|
|||
|
||||
@Test
|
||||
fun `when doMigrate, then LoginType field added`() {
|
||||
|
||||
migrator.doMigrate(fakeRealm.instance)
|
||||
|
||||
fakeRealm.verifyLoginTypeAdded()
|
||||
|
|
Loading…
Reference in a new issue