summaryrefslogtreecommitdiffstats
path: root/test/functional/lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-08-28 12:16:26 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-08-28 12:43:13 +0200
commitfa724a46030d58d6faf2215c5f544aaefc52ff4e (patch)
treeb2baaf556674a40afc18be67d7f14dc574291995 /test/functional/lua
parent3c9f4621d2459366bb6fe6120991baad41ce6fc0 (diff)
downloadrspamd-fa724a46030d58d6faf2215c5f544aaefc52ff4e.tar.gz
rspamd-fa724a46030d58d6faf2215c5f544aaefc52ff4e.zip
[Test] Settings: few more tests
Diffstat (limited to 'test/functional/lua')
-rw-r--r--test/functional/lua/settings.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/lua/settings.lua b/test/functional/lua/settings.lua
index 0be6f71bf..e52325dac 100644
--- a/test/functional/lua/settings.lua
+++ b/test/functional/lua/settings.lua
@@ -2,6 +2,7 @@ rspamd_config:register_symbol({
name = 'SIMPLE_PRE',
score = 1.0,
priority = 9, -- after settings
+ group = 'a',
type = 'prefilter',
callback = function()
return true, 'Fires always'
@@ -12,6 +13,7 @@ rspamd_config:register_symbol({
name = 'SIMPLE_POST',
score = 1.0,
type = 'postfilter',
+ group = 'c',
callback = function()
return true, 'Fires always'
end
@@ -20,6 +22,7 @@ rspamd_config:register_symbol({
rspamd_config:register_symbol({
name = 'SIMPLE_TEST',
score = 1.0,
+ group = 'b',
callback = function()
return true, 'Fires always'
end