aboutsummaryrefslogtreecommitdiff
path: root/test/json
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2013-12-14 22:39:54 +0800
committerDavid Bremner <david@tethera.net>2013-12-22 20:44:44 +0800
commit513a36d105995c327c23fec5f60ea70c65b986dd (patch)
tree51e0f273e07c37a003c7651ac071474d9c876a2b /test/json
parentb421f00a05dba82d6c3df6dcb6ae9063c5395b49 (diff)
test: add emacs_fcc_message that does not use smtp-dummy
Most of the tests previously using emacs_deliver_message do not use the actual transmitted message, so we replace it with a simpler (and presumably more reliable function) that only saves (and indexes) an fcc copy of the message.
Diffstat (limited to 'test/json')
-rwxr-xr-xtest/json2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json b/test/json
index e07a2904..c1cf649d 100755
--- a/test/json
+++ b/test/json
@@ -38,7 +38,7 @@ test_expect_equal_json "$output" "[[[{\"id\": \"${gen_msg_id}\", \"match\": true
test_begin_subtest "Show message: json, inline attachment filename"
subject='json-show-inline-attachment-filename'
id="json-show-inline-attachment-filename@notmuchmail.org"
-emacs_deliver_message \
+emacs_fcc_message \
"$subject" \
'This is a test message with inline attachment with a filename' \
"(mml-attach-file \"$TEST_DIRECTORY/README\" nil nil \"inline\")