summaryrefslogtreecommitdiff
path: root/plugins/managesieve/tests/src
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-24 10:41:36 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-24 10:42:56 +0200
commitf22de58087df469615ed1f24aaed54f8a4309237 (patch)
tree49c2241edbd24c2e37f4fffd4908c1c6ae398694 /plugins/managesieve/tests/src
parentf0405b4bae247b7dfe30a870fdccb5cb0f25d76e (diff)
Fixed notify/enotify extension handling
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}";
}