Scaffold: Include mimeType: text/html for attachments in test output

The connector includes this, so the new CI translator test runner in
zotero/translators was showing erroneous mismatches.
This commit is contained in:
Dan Stillman 2020-07-16 12:53:18 -04:00
parent c1a06a5dea
commit ab3a5ddbd8

View file

@ -256,6 +256,8 @@ Zotero_TranslatorTester._sanitizeItem = function(item, testItem, keepValidFields
var attachment = item.attachments[i];
if(attachment.document) {
delete attachment.document;
// Mirror connector/server itemDone() behavior from translate.js
attachment.mimeType = 'text/html';
}
if(attachment.url) {