Clean up some detekt issues (#3366)

This commit is contained in:
David Perez 2024-06-26 15:11:52 -05:00 committed by GitHub
parent 280d34d85c
commit f1d05f2e6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ class OrganizationEventManagerTest {
every { organizations } returns emptyList() every { organizations } returns emptyList()
} }
private val mutableVaultItemStateFlow = MutableStateFlow<DataState<CipherView?>>( private val mutableVaultItemStateFlow = MutableStateFlow<DataState<CipherView?>>(
value = DataState.Loading value = DataState.Loading,
) )
private val vaultRepository = mockk<VaultRepository> { private val vaultRepository = mockk<VaultRepository> {
every { getVaultItemStateFlow(itemId = any()) } returns mutableVaultItemStateFlow every { getVaultItemStateFlow(itemId = any()) } returns mutableVaultItemStateFlow

View file

@ -11,7 +11,7 @@ fun createMockCipherJsonRequest(number: Int, hasNullUri: Boolean = false): Ciphe
"mockId-$number" to AttachmentJsonRequest( "mockId-$number" to AttachmentJsonRequest(
fileName = "mockFileName-$number", fileName = "mockFileName-$number",
key = "mockKey-$number", key = "mockKey-$number",
fileSize = "1" fileSize = "1",
), ),
), ),
organizationId = "mockOrganizationId-$number", organizationId = "mockOrganizationId-$number",

View file

@ -2463,7 +2463,7 @@ class VaultAddEditViewModelTest : BaseViewModelTest() {
organizationEventManager.trackEvent( organizationEventManager.trackEvent(
event = OrganizationEvent.CipherClientToggledHiddenFieldVisible( event = OrganizationEvent.CipherClientToggledHiddenFieldVisible(
cipherId = "vault_item_id", cipherId = "vault_item_id",
) ),
) )
} }
} }