]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Oops, add a missing require
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 24 Nov 2021 20:52:20 +0000 (20:52 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 24 Nov 2021 20:52:20 +0000 (20:52 +0000)
test/lua/unit/lua_util.extract_specific_urls.lua

index a8471ae23d39cf13091b54299ae0f7cba21be276..05ffeb7b073329f6277b3aab63b89ed9942a7228 100644 (file)
@@ -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)