Use base64 strings for incoming message cache instead of binary
This commit is contained in:
parent
9eefc0c29b
commit
7983300f4a
7 changed files with 62 additions and 28 deletions
|
@ -1241,12 +1241,12 @@ describe('SignalProtocolStore', function() {
|
|||
});
|
||||
});
|
||||
|
||||
it('updateUnprocessed successfully updates only part of itme', function() {
|
||||
it('saveUnprocessed successfully updates item', function() {
|
||||
var id = 1;
|
||||
return store
|
||||
.addUnprocessed({ id: id, name: 'first', timestamp: 1 })
|
||||
.then(function() {
|
||||
return store.updateUnprocessed(id, { name: 'updated' });
|
||||
return store.saveUnprocessed({ id, name: 'updated', timestamp: 1 });
|
||||
})
|
||||
.then(function() {
|
||||
return store.getAllUnprocessed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue