commit 991b396: [Test] Fix multimap tests

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Jun 24 15:21:06 UTC 2020


Author: Vsevolod Stakhov
Date: 2020-06-24 15:26:20 +0100
URL: https://github.com/rspamd/rspamd/commit/991b39670d2417160674818ce4c88c142f01fe67

[Test] Fix multimap tests

---
 test/functional/configs/multimap.conf | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test/functional/configs/multimap.conf b/test/functional/configs/multimap.conf
index b12f796e8..36f2514e7 100644
--- a/test/functional/configs/multimap.conf
+++ b/test/functional/configs/multimap.conf
@@ -24,6 +24,7 @@ multimap {
     header = "Cc";
     filter = "email:domain";
     map = "${TESTDIR}/configs/maps/domains.list.2";
+    score = 1.0;
   }
   REGEXP_MAP {
     type = "from";
@@ -53,6 +54,7 @@ multimap {
     filter = "email:addr";
     symbols = ["SYM1"];
     map = "${TESTDIR}/configs/maps/multiple.list";
+    score = 1.0;
   }
   HEADER_MAP {
     type = "header";
@@ -195,3 +197,9 @@ multimap {
     expression = "from || ip"
   }
 }
+
+symbols {
+  SYM1 = {
+    score = 1.0,
+  }
+}


More information about the Commits mailing list