From: Vsevolod Stakhov Date: Wed, 24 Nov 2021 20:52:20 +0000 (+0000) Subject: [Test] Oops, add a missing require X-Git-Tag: 3.2~228 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f4feae7c5d959e01cb649bf3f4004eeed8f00669;p=rspamd.git [Test] Oops, add a missing require --- 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)