From 88ed5d5ec169b21a9a21b82ba475efb94894c3dd Mon Sep 17 00:00:00 2001 From: Alexandre Pretto Nunes Date: Mon, 22 Dec 2014 15:47:05 -0200 Subject: #202 fix identification if mail is in trash --- web-ui/test/test_data.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'web-ui/test/test_data.js') diff --git a/web-ui/test/test_data.js b/web-ui/test/test_data.js index f83a807c..20b6ee0f 100644 --- a/web-ui/test/test_data.js +++ b/web-ui/test/test_data.js @@ -40,7 +40,6 @@ define(function() { 'cc-field': ['duda@la.lu'] } } - }; var rawDraftMail = { @@ -57,7 +56,22 @@ define(function() { 'cc-field': [] } } + }; + var rawMailInTrash = { + 'header':{'to':'mariane_dach@davis.info','from':'afton_braun@botsford.biz','subject':'Consectetur sit omnis veniam blanditiis.','date':'2014-06-17T11:56:53-03:00'}, + 'ident':9360, + 'tags':['photography','sky'], + 'status':['read'], + 'body':'Illum eos nihil commodi voluptas. Velit consequatur odio quibusdam. Beatae aliquam hic quos.', + 'mailbox': 'TRASH', + replying: { + single: 'afton_braun@botsford.biz', + all: { + 'to-field': ['afton_braun@botsford.biz'], + 'cc-field': [] + } + } }; var rawReceivedMail = { @@ -219,6 +233,7 @@ define(function() { mail: rawMail, sent: rawSentMail, draft: rawDraftMail, + trash: rawMailInTrash, received: rawReceivedMail, receivedWithCC: rawReceivedWithCCMail, rawMailWithMultipleTo: rawMailWithMultipleTo, -- cgit v1.2.3