mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
DEV: allow for internal format change of Drafts
This follows up on 20d8b49adddd9927 we should no longer be testing with usernames in the draft
This commit is contained in:
parent
82201fa466
commit
624a9bf234
@ -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
|
||||
})
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user