-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Isolate release-notes-related items into their own test case
- Loading branch information
1 parent
86b1c8f
commit 2285c21
Showing
4 changed files
with
99 additions
and
37 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+144 Bytes
test-cases/simple-chat-update-release-notes-donation-request.binproto
Binary file not shown.
80 changes: 80 additions & 0 deletions
80
test-cases/simple-chat-update-release-notes-donation-request.jsonproto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
// Includes "release notes" simple chat updates. | ||
[ | ||
{ | ||
"backupTimeMs": "123456", | ||
"version": "1" | ||
}, | ||
{ | ||
"account": { | ||
"profileKey": "YQKRq+3DQklInaOaMcmlzZnN0m/1hzLiaONX7gB12dg=", | ||
"givenName": "Boba", | ||
"familyName": "Fett", | ||
"avatarUrlPath": "", | ||
"accountSettings": { | ||
"readReceipts": false, | ||
"sealedSenderIndicators": true, | ||
"typingIndicators": false, | ||
"linkPreviews": false, | ||
"notDiscoverableByPhoneNumber": false, | ||
"preferContactAvatars": false, | ||
"universalExpireTimerSeconds": 0, | ||
"preferredReactionEmoji": [], | ||
"displayBadgesOnProfile": false, | ||
"keepMutedChatsArchived": false, | ||
"hasSetMyStoriesPrivacy": false, | ||
"hasViewedOnboardingStory": false, | ||
"storiesDisabled": false, | ||
"storyViewReceiptsEnabled": false, | ||
"hasSeenGroupStoryEducationSheet": false, | ||
"hasCompletedUsernameOnboarding": false, | ||
"phoneNumberSharingMode": "NOBODY" | ||
} | ||
} | ||
}, | ||
{ | ||
"recipient": { | ||
"id": "1", | ||
"self": {} | ||
} | ||
}, | ||
{ | ||
"recipient": { | ||
"id": "2", | ||
"releaseNotes": {} | ||
} | ||
}, | ||
{ | ||
"recipient": { | ||
"id": "3", | ||
"distributionList": { | ||
"distributionId": "AAAAAAAAAAAAAAAAAAAAAA==", | ||
"distributionList": { | ||
"allowReplies": true, | ||
"memberRecipientIds": [], | ||
"name": "My Story", | ||
"privacyMode": "ALL" | ||
} | ||
} | ||
} | ||
}, | ||
// Release Notes channel | ||
{ | ||
"chat": { | ||
"id": "1", | ||
"recipientId": "2" | ||
} | ||
}, | ||
{ | ||
"chatItem": { | ||
"authorId": "2", | ||
"chatId": "1", | ||
"dateSent": "5", | ||
"directionless": {}, | ||
"updateMessage": { | ||
"simpleUpdate": { | ||
"type": "RELEASE_CHANNEL_DONATION_REQUEST" | ||
} | ||
} | ||
} | ||
}, | ||
] |