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

Commit

Permalink
Merge pull request #287 from asutherland/delbody-putback
Browse files Browse the repository at this point in the history
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
  • Loading branch information
asutherland committed Feb 25, 2014
2 parents 8f2996a + 6344432 commit 10f1c90
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/unit/test_sync_server_changes.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -81,6 +81,19 @@ TD.commonCase('detect server changes', function(T) {
expectedRefreshChanges, expectedRefreshChanges,
{ top: true, bottom: true, grow: false, newCount: 0 }); { 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'); T.group('cleanup');
testAccount.do_closeFolderView(checkView); testAccount.do_closeFolderView(checkView);
}); });
Expand Down

0 comments on commit 10f1c90

Please sign in to comment.