mirror of
https://github.com/bitwarden/android.git
synced 2026-06-01 18:26:31 -05:00
Added key to sync response model and cipher sdk object (#201)
This commit is contained in:
@@ -29,6 +29,7 @@ fun createMockCipher(number: Int): SyncResponseJson.Cipher =
|
||||
shouldEdit = false,
|
||||
shouldOrganizationUseTotp = false,
|
||||
shouldViewPassword = false,
|
||||
key = "mockKey-$number",
|
||||
)
|
||||
|
||||
/**
|
||||
|
||||
@@ -299,7 +299,8 @@ private const val SYNC_SUCCESS_JSON = """
|
||||
"expYear": "mockExpirationYear-1",
|
||||
"cardholderName": "mockCardholderName-1",
|
||||
"brand": "mockBrand-1"
|
||||
}
|
||||
},
|
||||
"key": "mockKey-1"
|
||||
}
|
||||
],
|
||||
"domains": {
|
||||
|
||||
@@ -26,7 +26,7 @@ fun createMockSdkCipher(number: Int): Cipher =
|
||||
organizationId = "mockOrganizationId-$number",
|
||||
folderId = "mockFolderId-$number",
|
||||
collectionIds = listOf("mockCollectionId-$number"),
|
||||
key = null,
|
||||
key = "mockKey-$number",
|
||||
name = "mockName-$number",
|
||||
notes = "mockNotes-$number",
|
||||
type = CipherType.LOGIN,
|
||||
|
||||
Reference in New Issue
Block a user