From 9f8d37718182f803cc24dfffd94681e8c0df9055 Mon Sep 17 00:00:00 2001 From: NIkita Fedrunov Date: Tue, 18 Oct 2022 10:47:44 +0200 Subject: [PATCH] lint --- .../java/im/vector/app/features/home/InvitesViewModelTest.kt | 1 - .../src/test/java/im/vector/app/test/fakes/FakeUserService.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vector/src/test/java/im/vector/app/features/home/InvitesViewModelTest.kt b/vector/src/test/java/im/vector/app/features/home/InvitesViewModelTest.kt index 48bf232327..99f19bd99c 100644 --- a/vector/src/test/java/im/vector/app/features/home/InvitesViewModelTest.kt +++ b/vector/src/test/java/im/vector/app/features/home/InvitesViewModelTest.kt @@ -100,7 +100,6 @@ class InvitesViewModelTest { session = fakeSession, stringProvider = fakeStringProvider.instance, drawableProvider = fakeDrawableProvider.instance, - ).also { viewModel = it initialState = state diff --git a/vector/src/test/java/im/vector/app/test/fakes/FakeUserService.kt b/vector/src/test/java/im/vector/app/test/fakes/FakeUserService.kt index e9a29fcdf5..065796934c 100644 --- a/vector/src/test/java/im/vector/app/test/fakes/FakeUserService.kt +++ b/vector/src/test/java/im/vector/app/test/fakes/FakeUserService.kt @@ -22,7 +22,7 @@ import io.mockk.slot import org.matrix.android.sdk.api.session.user.UserService import org.matrix.android.sdk.api.session.user.model.User -class FakeUserService: UserService by mockk() { +class FakeUserService : UserService by mockk() { private val userIdSlot = slot()