mirror of
https://github.com/bitwarden/android.git
synced 2024-11-22 01:16:02 +03:00
Clean up some detekt issues (#3366)
This commit is contained in:
parent
280d34d85c
commit
f1d05f2e6a
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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",
|
||||||
)
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue