mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:15:05 +08:00
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:
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…
Reference in New Issue
Block a user