commit f4feae7: [Test] Oops, add a missing require

Vsevolod Stakhov vsevolod at highsecure.ru
Wed Nov 24 20:56:04 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-11-24 20:52:20 +0000
URL: https://github.com/rspamd/rspamd/commit/f4feae7c5d959e01cb649bf3f4004eeed8f00669 (HEAD -> master)

[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 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)
 


More information about the Commits mailing list