Skip to content

Commit 081b6fe

Browse files
committed
Update mock
1 parent d55491d commit 081b6fe

File tree

1 file changed

+31
-30
lines changed

1 file changed

+31
-30
lines changed

app/src/sharedTest/java/one.mixin.android.mock/AccountMock.kt

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,37 @@ const val MOCK_ME_USER_ID = "3B035776-963D-49ED-850C-22EC30965481"
66

77
fun mockAccount(): Account {
88
return Account(
9-
MOCK_ME_USER_ID,
10-
"94EF6A7F-52A6-4019-996F-C30C77F248A6",
11-
"user",
12-
"7000",
13-
"ME",
14-
"Mixin",
15-
"Mixin",
16-
"",
17-
"",
18-
"",
19-
"", // PinToken is AES key encrypted with RSA
20-
"",
21-
"",
22-
"2018-10-01T02:17:44.806365421Z",
23-
"",
24-
true,
25-
"",
26-
0,
27-
"EVERYBODY",
28-
"EVERYBODY",
29-
true,
30-
true,
31-
"",
32-
0.0,
33-
0.0,
34-
arrayListOf(),
35-
"",
36-
null,
37-
null,
38-
null,
9+
userId = MOCK_ME_USER_ID,
10+
sessionId = "94EF6A7F-52A6-4019-996F-C30C77F248A6",
11+
type = "user",
12+
identityNumber = "7000",
13+
relationship = "ME",
14+
fullName = "Mixin",
15+
biography = "Mixin",
16+
avatarUrl = "",
17+
phone = "",
18+
phoneVerifiedAt = "",
19+
avatarBase64 = "",
20+
pinToken = "", // PinToken is AES key encrypted with RSA
21+
codeId = "",
22+
codeUrl = "",
23+
createdAt = "2018-10-01T02:17:44.806365421Z",
24+
receiveMessageSource = "",
25+
hasPin = true,
26+
tipKeyBase64 = "",
27+
tipCounter = 0,
28+
acceptConversationSource = "EVERYBODY",
29+
acceptSearchSource = "EVERYBODY",
30+
hasEmergencyContact = true,
31+
hasSafe = true,
32+
fiatCurrency = "",
33+
transferNotificationThreshold = 0.0,
34+
transferConfirmationThreshold = 0.0,
35+
features = arrayListOf(),
36+
salt = "",
37+
membership = null,
38+
system = null,
39+
saltExportedAt = null,
3940
level = null,
4041
)
4142
}

0 commit comments

Comments
 (0)