aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/emacs
diff options
context:
space:
mode:
authorGravatar David Bremner <david@tethera.net>2013-12-14 22:39:54 +0800
committerGravatar David Bremner <david@tethera.net>2013-12-22 20:44:44 +0800
commit513a36d105995c327c23fec5f60ea70c65b986dd (patch)
tree51e0f273e07c37a003c7651ac071474d9c876a2b /test/emacs
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/emacs')
-rwxr-xr-xtest/emacs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/emacs b/test/emacs
index 1b1ebe31..863219d9 100755
--- a/test/emacs
+++ b/test/emacs
@@ -771,7 +771,7 @@ test_expect_equal_file OUTPUT EXPECTED
test_begin_subtest "Do not call notmuch for non-inlinable application/mpeg parts"
id='message-with-application/mpeg-attachment@notmuchmail.org'
-emacs_deliver_message \
+emacs_fcc_message \
'Message with application/mpeg attachment' \
'' \
"(message-goto-eoh)
@@ -786,7 +786,7 @@ test_expect_equal $(notmuch_counter_value) 1
test_begin_subtest "Do not call notmuch for non-inlinable audio/mpeg parts"
id='message-with-audio/mpeg-attachment@notmuchmail.org'
-emacs_deliver_message \
+emacs_fcc_message \
'Message with audio/mpeg attachment' \
'' \
"(message-goto-eoh)