Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 31 additions & 30 deletions app/src/sharedTest/java/one.mixin.android.mock/AccountMock.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,37 @@ const val MOCK_ME_USER_ID = "3B035776-963D-49ED-850C-22EC30965481"

fun mockAccount(): Account {
return Account(
MOCK_ME_USER_ID,
"94EF6A7F-52A6-4019-996F-C30C77F248A6",
"user",
"7000",
"ME",
"Mixin",
"Mixin",
"",
"",
"",
"", // PinToken is AES key encrypted with RSA
"",
"",
"2018-10-01T02:17:44.806365421Z",
"",
true,
"",
0,
"EVERYBODY",
"EVERYBODY",
true,
true,
"",
0.0,
0.0,
arrayListOf(),
"",
null,
null,
null,
userId = MOCK_ME_USER_ID,
sessionId = "94EF6A7F-52A6-4019-996F-C30C77F248A6",
type = "user",
identityNumber = "7000",
relationship = "ME",
fullName = "Mixin",
biography = "Mixin",
avatarUrl = "",
phone = "",
phoneVerifiedAt = "",
avatarBase64 = "",
pinToken = "", // PinToken is AES key encrypted with RSA
codeId = "",
codeUrl = "",
createdAt = "2018-10-01T02:17:44.806365421Z",
receiveMessageSource = "",
hasPin = true,
tipKeyBase64 = "",
tipCounter = 0,
acceptConversationSource = "EVERYBODY",
acceptSearchSource = "EVERYBODY",
hasEmergencyContact = true,
hasSafe = true,
fiatCurrency = "",
transferNotificationThreshold = 0.0,
transferConfirmationThreshold = 0.0,
features = arrayListOf(),
salt = "",
membership = null,
system = null,
saltExportedAt = null,
level = null,
)
}
Loading