diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-02 12:09:24 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-10-02 12:09:24 +0100 |
commit | c03f12c4c9918a8545d6053cc40786b152b4c44e (patch) | |
tree | 7a9c54db731927e5bfb75b11fc6743a997155810 /test/functional/lua | |
parent | 04973acecb84a49db7e156db6d152b4ff78e0e48 (diff) | |
download | rspamd-c03f12c4c9918a8545d6053cc40786b152b4c44e.tar.gz rspamd-c03f12c4c9918a8545d6053cc40786b152b4c44e.zip |
[Test] Fix reload test
Diffstat (limited to 'test/functional/lua')
-rw-r--r-- | test/functional/lua/mapreload.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/mapreload.lua b/test/functional/lua/mapreload.lua index aa1de9392..572da10de 100644 --- a/test/functional/lua/mapreload.lua +++ b/test/functional/lua/mapreload.lua @@ -7,9 +7,9 @@ rspamd_config:register_symbol({ name = 'MAP_SET_HIT_AND_MISS', score = 1.0, callback = function() - if (test_map:get_key('example.com') and not test_map:get_key('rspamd.com')) then + if (test_map:get_key('example.com') and not test_map:get_key('rspamd-test.com')) then return true, 'example.com' - elseif (test_map:get_key('rspamd.com') and not test_map:get_key('example.com')) then + elseif (test_map:get_key('rspamd-test.com') and not test_map:get_key('example.com')) then return true, 'rspamd.com' end end |