mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix tests
This commit is contained in:
@@ -89,7 +89,13 @@
|
||||
before(function(done) {
|
||||
var convo = new Whisper.ConversationCollection().add(attributes);
|
||||
convo.save().then(function() {
|
||||
var message = convo.messageCollection.add({body: 'hello world', conversationId: convo.id});
|
||||
var message = convo.messageCollection.add({
|
||||
body : 'hello world',
|
||||
conversationId : convo.id,
|
||||
type : 'outgoing',
|
||||
sent_at : Date.now(),
|
||||
received_at : Date.now()
|
||||
});
|
||||
message.save().then(done)
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user