summaryrefslogtreecommitdiff
path: root/plugins/managesieve/tests/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/managesieve/tests/src')
-rw-r--r--plugins/managesieve/tests/src/parser_notify_a2
-rw-r--r--plugins/managesieve/tests/src/parser_notify_b2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/managesieve/tests/src/parser_notify_a b/plugins/managesieve/tests/src/parser_notify_a
index f1a57540e..e51e2aa8d 100644
--- a/plugins/managesieve/tests/src/parser_notify_a
+++ b/plugins/managesieve/tests/src/parser_notify_a
@@ -14,5 +14,5 @@ if header :matches "Subject" "*"
if header :matches "From" "*"
{
set "from" "${1}";
- notify :high :message "${from}: ${subject}" :method "mailto:test@example.org";
+ notify :high :method "mailto" :options "test@example.org" :message "${from}: ${subject}";
}
diff --git a/plugins/managesieve/tests/src/parser_notify_b b/plugins/managesieve/tests/src/parser_notify_b
index ab90ed48c..f942e155f 100644
--- a/plugins/managesieve/tests/src/parser_notify_b
+++ b/plugins/managesieve/tests/src/parser_notify_b
@@ -13,5 +13,5 @@ if header :matches "Subject" "*"
if address :matches "from" "*"
{
set "from_addr" "${1}";
- notify :message "${from_addr}${env_from}: ${subject}" :method "sms:1234567890";
+ notify :method "sms" :options "1234567890" :message "${from_addr}${env_from}: ${subject}";
}