mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Upgrade mock-server to v13.2.2
This commit is contained in:
@@ -119,9 +119,9 @@ describe('story/no-sender-key', function (this: Mocha.Suite) {
|
||||
contacts.map(async contact => {
|
||||
const { storyMessage } = await contact.waitForStory();
|
||||
assert.isTrue(
|
||||
phone.profileKey
|
||||
.serialize()
|
||||
.equals(storyMessage.profileKey ?? new Uint8Array(0))
|
||||
Buffer.from(phone.profileKey.serialize()).equals(
|
||||
storyMessage.profileKey ?? new Uint8Array(0)
|
||||
)
|
||||
);
|
||||
assert.strictEqual(storyMessage.textAttachment?.text, '123');
|
||||
})
|
||||
|
||||
@@ -108,9 +108,9 @@ describe('storage service', function (this: Mocha.Suite) {
|
||||
'profile key message has valid source'
|
||||
);
|
||||
assert.isTrue(
|
||||
phone.profileKey
|
||||
.serialize()
|
||||
.equals(dataMessage.profileKey ?? new Uint8Array(0)),
|
||||
Buffer.from(phone.profileKey.serialize()).equals(
|
||||
dataMessage.profileKey ?? new Uint8Array(0)
|
||||
),
|
||||
'profile key message has correct profile key'
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user