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

Commit

Permalink
Bug 972514 - test clause got left out. [B2G][Email]Flagged Hotmail em…
Browse files Browse the repository at this point in the history
…ails 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
1 parent 8f2996a commit 6344432
Showing 1 changed file with 13 additions and 0 deletions.
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

0 comments on commit 6344432

Please sign in to comment.