Introduce Service Id Types
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
414c0a58d3
commit
366b875fd2
269 changed files with 5832 additions and 5550 deletions
|
@ -5,7 +5,7 @@ import { assert } from 'chai';
|
|||
import { Proto } from '@signalapp/mock-server';
|
||||
|
||||
import * as durations from '../../util/durations';
|
||||
import { UUID } from '../../types/UUID';
|
||||
import { generateAci } from '../../types/ServiceId';
|
||||
import { MAX_READ_KEYS } from '../../services/storageConstants';
|
||||
import type { App, Bootstrap } from './fixtures';
|
||||
import { initStorage, debug } from './fixtures';
|
||||
|
@ -57,7 +57,7 @@ describe('storage service', function needsName() {
|
|||
type: IdentifierType.CONTACT,
|
||||
record: {
|
||||
contact: {
|
||||
serviceUuid: UUID.generate().toString(),
|
||||
serviceUuid: generateAci(),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue