Migrate schema to service ids
This commit is contained in:
parent
71958f8a01
commit
8b0da36caa
258 changed files with 4795 additions and 2613 deletions
|
@ -25,13 +25,13 @@ describe('MessageReceiver', () => {
|
|||
beforeEach(async () => {
|
||||
oldAci = window.storage.user.getAci();
|
||||
oldDeviceId = window.storage.user.getDeviceId();
|
||||
await window.storage.user.setUuidAndDeviceId(generateAci(), 2);
|
||||
await window.storage.user.setAciAndDeviceId(generateAci(), 2);
|
||||
await window.storage.protocol.hydrateCaches();
|
||||
});
|
||||
|
||||
afterEach(async () => {
|
||||
if (oldAci !== undefined && oldDeviceId !== undefined) {
|
||||
await window.storage.user.setUuidAndDeviceId(oldAci, oldDeviceId);
|
||||
await window.storage.user.setAciAndDeviceId(oldAci, oldDeviceId);
|
||||
}
|
||||
await window.storage.protocol.removeAllUnprocessed();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue