aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-24 20:52:20 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-24 20:52:20 +0000
commitf4feae7c5d959e01cb649bf3f4004eeed8f00669 (patch)
tree296bff406f4a70d7f742593e9a048f3383dc5791 /test/lua
parentd71ef8ca42ff672bac112a4b89ea0259586d196c (diff)
downloadrspamd-f4feae7c5d959e01cb649bf3f4004eeed8f00669.tar.gz
rspamd-f4feae7c5d959e01cb649bf3f4004eeed8f00669.zip
[Test] Oops, add a missing require
Diffstat (limited to 'test/lua')
-rw-r--r--test/lua/unit/lua_util.extract_specific_urls.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lua/unit/lua_util.extract_specific_urls.lua b/test/lua/unit/lua_util.extract_specific_urls.lua
index a8471ae23..05ffeb7b0 100644
--- a/test/lua/unit/lua_util.extract_specific_urls.lua
+++ b/test/lua/unit/lua_util.extract_specific_urls.lua
@@ -204,8 +204,8 @@ context("Lua util - extract_specific_urls message", function()
--[[ ******************* kinda functional *************************************** ]]
-
- local cfg = rspamd_util.config_from_ucl(rspamd_test_helper.default_config(),
+ local test_helper = require "rspamd_test_helper"
+ local cfg = rspamd_util.config_from_ucl(test_helper.default_config(),
"INIT_URL,INIT_LIBS,INIT_SYMCACHE,INIT_VALIDATE,INIT_PRELOAD_MAPS")
local res,task = rspamd_task.load_from_string(msg, cfg)