Migrate schema to service ids
This commit is contained in:
parent
71958f8a01
commit
8b0da36caa
258 changed files with 4795 additions and 2613 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
import { assert } from 'chai';
|
||||
import type { PrimaryDevice, Group } from '@signalapp/mock-server';
|
||||
import { StorageState, Proto, UUIDKind } from '@signalapp/mock-server';
|
||||
import { StorageState, Proto, ServiceIdKind } from '@signalapp/mock-server';
|
||||
import createDebug from 'debug';
|
||||
|
||||
import * as durations from '../../util/durations';
|
||||
|
@ -59,11 +59,11 @@ describe('pnp/send gv2 invite', function needsName() {
|
|||
identityState: Proto.ContactRecord.IdentityState.VERIFIED,
|
||||
whitelisted: true,
|
||||
|
||||
identityKey: pniContact.getPublicKey(UUIDKind.PNI).serialize(),
|
||||
identityKey: pniContact.getPublicKey(ServiceIdKind.PNI).serialize(),
|
||||
|
||||
givenName: 'PNI Contact',
|
||||
},
|
||||
UUIDKind.PNI
|
||||
ServiceIdKind.PNI
|
||||
);
|
||||
|
||||
state = state.addRecord({
|
||||
|
@ -74,7 +74,7 @@ describe('pnp/send gv2 invite', function needsName() {
|
|||
identifier: uuidToBytes(MY_STORY_ID),
|
||||
isBlockList: true,
|
||||
name: MY_STORY_ID,
|
||||
recipientUuids: [],
|
||||
recipientServiceIds: [],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue