Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 972514 - test clause got left out. [B2G][Email]Flagged Hotmail emails do not display the changed on or off flag indicator when synced from the server to the device using ActiveSync. r=mcav #287

Merged
merged 1 commit into from Feb 25, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions test/unit/test_sync_server_changes.js
Expand Up @@ -81,6 +81,19 @@ TD.commonCase('detect server changes', function(T) {
expectedRefreshChanges,
{ top: true, bottom: true, grow: false, newCount: 0 });


T.group('fail to get the message body for a deleted message');
T.action(eSync, 'request deleted message body from',
testFolder.storageActor, function() {
eSync.expect_namedValue('bodyInfo', null);
testFolder.storageActor.expect_bodyNotFound();
var deletedHeader = expectedRefreshChanges.deletions[0];
deletedHeader.getBody(function(bodyInfo) {
eSync.namedValue('bodyInfo', bodyInfo);
// it's null so we don't call bodyInfo.die(), but if it wasn't...!
});
});

T.group('cleanup');
testAccount.do_closeFolderView(checkView);
});
Expand Down