Skip to content

Loading…

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

1 participant

@asutherland
Mozilla-B2G member

While migrating this test logic a hunk got left out in #286. This was unintentional and since this was already verbatim in the other test file, landing it.

@asutherland asutherland Bug 972514 - test clause got left out. [B2G][Email]Flagged Hotmail em…
…ails do not display the changed on or off flag indicator when synced from the server to the device using ActiveSync. r=mcav
6344432
@asutherland asutherland merged commit 10f1c90 into mozilla-b2g:master

1 check passed

Details default The Travis CI build passed
@asutherland asutherland deleted the asutherland:delbody-putback branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 25, 2014
  1. @asutherland

    Bug 972514 - test clause got left out. [B2G][Email]Flagged Hotmail em…

    asutherland committed
    …ails do not display the changed on or off flag indicator when synced from the server to the device using ActiveSync. r=mcav
Showing with 13 additions and 0 deletions.
  1. +13 −0 test/unit/test_sync_server_changes.js
View
13 test/unit/test_sync_server_changes.js
@@ -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);
});
Something went wrong with that request. Please try again.