mirror of
https://github.com/bitwarden/android.git
synced 2026-05-27 06:54:00 -05:00
BIT-1398: Update Bitwarden SDK and remove temporary SendViewKey (#572)
This commit is contained in:
@@ -19,7 +19,8 @@ fun createMockSendView(
|
||||
name = "mockName-$number",
|
||||
notes = "mockNotes-$number",
|
||||
key = "mockKey-$number",
|
||||
password = "mockPassword-$number",
|
||||
newPassword = "mockPassword-$number",
|
||||
hasPassword = true,
|
||||
type = type,
|
||||
file = createMockFileView(number = number),
|
||||
text = createMockTextView(number = number),
|
||||
|
||||
@@ -18,7 +18,7 @@ class AddSendStateExtensionsTest {
|
||||
val sendView = createMockSendView(number = 1, type = SendType.FILE).copy(
|
||||
id = null,
|
||||
accessId = null,
|
||||
key = "91Xo3Wdf0N0Cc5AHJRC3SQ",
|
||||
key = null,
|
||||
accessCount = 0U,
|
||||
text = null,
|
||||
file = SendFileView(
|
||||
@@ -27,6 +27,7 @@ class AddSendStateExtensionsTest {
|
||||
size = "",
|
||||
sizeName = "",
|
||||
),
|
||||
hasPassword = false,
|
||||
)
|
||||
|
||||
val result = DEFAULT_VIEW_STATE
|
||||
@@ -41,9 +42,10 @@ class AddSendStateExtensionsTest {
|
||||
val sendView = createMockSendView(number = 1, type = SendType.TEXT).copy(
|
||||
id = null,
|
||||
accessId = null,
|
||||
key = "91Xo3Wdf0N0Cc5AHJRC3SQ",
|
||||
key = null,
|
||||
accessCount = 0U,
|
||||
file = null,
|
||||
hasPassword = false,
|
||||
)
|
||||
|
||||
val result = DEFAULT_VIEW_STATE.toSendView(FIXED_CLOCK)
|
||||
|
||||
Reference in New Issue
Block a user