From f4feae7c5d959e01cb649bf3f4004eeed8f00669 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 24 Nov 2021 20:52:20 +0000 Subject: [PATCH] [Test] Oops, add a missing require --- test/lua/unit/lua_util.extract_specific_urls.lua | 4 ++-- 1 file 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 a8471ae23d..05ffeb7b07 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) -- 2.47.3