aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/functional/cases/001_merged/280_rules.robot4
-rw-r--r--test/functional/messages/currency.eml5
2 files changed, 9 insertions, 0 deletions
diff --git a/test/functional/cases/001_merged/280_rules.robot b/test/functional/cases/001_merged/280_rules.robot
index f98e6445d..b7cbe8146 100644
--- a/test/functional/cases/001_merged/280_rules.robot
+++ b/test/functional/cases/001_merged/280_rules.robot
@@ -133,3 +133,7 @@ REPLYTO_ADDR_EQ_FROM
... Settings={symbols_enabled = [REPLYTO_ADDR_EQ_FROM]}
Expect Symbol REPLYTO_ADDR_EQ_FROM
+SUBJECT_HAS_CURRENCY
+ Scan File ${RSPAMD_TESTDIR}/messages/currency.eml
+ ... Settings={symbols_enabled = [SUBJECT_HAS_CURRENCY]}
+ Expect Symbol SUBJECT_HAS_CURRENCY
diff --git a/test/functional/messages/currency.eml b/test/functional/messages/currency.eml
new file mode 100644
index 000000000..d00ea2130
--- /dev/null
+++ b/test/functional/messages/currency.eml
@@ -0,0 +1,5 @@
+From: <>
+Subject: £600
+Content-Type: text/plain
+
+test