From 7609ef35bc586c645ca6d4efbe753c7d5541ad24 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 1 Apr 2017 14:28:32 -0400 Subject: [PATCH] Allow setting note text with createDataObject('item') test function --- test/content/support.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/content/support.js b/test/content/support.js index 05fddf8c8..50a597f4d 100644 --- 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':