From 624a9bf2344083ec65fa7866a733f2ad99921661 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Fri, 3 Apr 2020 14:56:03 +1100 Subject: [PATCH] DEV: allow for internal format change of Drafts This follows up on 20d8b49adddd9927 we should no longer be testing with usernames in the draft --- test/javascripts/acceptance/composer-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/javascripts/acceptance/composer-test.js b/test/javascripts/acceptance/composer-test.js index 5af2698555e..48237ff5524 100644 --- a/test/javascripts/acceptance/composer-test.js +++ b/test/javascripts/acceptance/composer-test.js @@ -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 }) );