DEV: allow for internal format change of Drafts

This follows up on 20d8b49add we should no longer be testing with
usernames in the draft
This commit is contained in:
Sam Saffron 2020-04-03 14:56:03 +11:00
parent 82201fa466
commit 624a9bf234
No known key found for this signature in database
GPG Key ID: B9606168D2FFD9F5

View File

@ -683,7 +683,7 @@ QUnit.test("Loading draft also replaces the recipients", async assert => {
sandbox.stub(Draft, "get").returns(
Promise.resolve({
draft:
'{"reply":"hello","action":"privateMessage","title":"hello","categoryId":null,"archetypeId":"private_message","metaData":null,"usernames":"codinghorror","composerTime":9159,"typingTime":2500}',
'{"reply":"hello","action":"privateMessage","title":"hello","categoryId":null,"archetypeId":"private_message","metaData":null,"recipients":"codinghorror","composerTime":9159,"typingTime":2500}',
draft_sequence: 0
})
);