Update test for attachment metadata

This commit is contained in:
Daniel Gasienica 2018-04-15 02:52:48 -04:00
parent 86a9923181
commit 8b9516de72
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ describe('Message', () => {
size: 1111,
}],
hasAttachments: 1,
hasVisualMediaAttachments: undefined,
hasVisualMediaAttachments: 0,
hasFileAttachments: 1,
schemaVersion: Message.CURRENT_SCHEMA_VERSION,
};

View File

@ -40,7 +40,7 @@ describe('Message', () => {
}],
hasAttachments: 1,
hasVisualMediaAttachments: 1,
hasFileAttachments: undefined,
hasFileAttachments: 0,
};
const actual = await Message.initializeAttachmentMetadata(input);