diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-11-13 20:42:17 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-11-19 12:44:14 +0000 |
commit | 997a91110cc4eb63e7012d0b21b9a9bc5bdff325 (patch) | |
tree | c4359486836d2abc2fabe98673c187925be6df1b /test | |
parent | 4623a10e17a3a838fd174751a5d998746bd16700 (diff) | |
download | rspamd-997a91110cc4eb63e7012d0b21b9a9bc5bdff325.tar.gz rspamd-997a91110cc4eb63e7012d0b21b9a9bc5bdff325.zip |
[Test] Fix test code
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/lua/maps_kv.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/maps_kv.lua b/test/functional/lua/maps_kv.lua index 0b1b535bf..1dd8d2290 100644 --- a/test/functional/lua/maps_kv.lua +++ b/test/functional/lua/maps_kv.lua @@ -82,9 +82,9 @@ rspamd_config:register_symbol({ callback = function(task) local function cb(res, data, code) if res then - task:insert_result('EXTERNAL_MAP', string.format('+%s', data)) + task:insert_result('EXTERNAL_MAP', 1.0, string.format('+%s', data)) else - task:insert_result('EXTERNAL_MAP', string.format('-%s:%s', code, data)) + task:insert_result('EXTERNAL_MAP', 1.0, string.format('-%s:%s', code, data)) end end simple_ext_map:get_key({ |