commit 7609ef35bc586c645ca6d4efbe753c7d5541ad24
parent 4867fc7e0361fc15c3668e1c2de6500f038bda21
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 1 Apr 2017 14:28:32 -0400
Allow setting note text with createDataObject('item') test function
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/test/content/support.js b/test/content/support.js
@@ -417,6 +417,9 @@ function createUnsavedDataObject(objectType, params = {}) {
if (params.tags !== undefined) {
obj.setTags(params.tags);
}
+ if (params.note !== undefined) {
+ obj.setNote(params.note);
+ }
break;
case 'collection':