summaryrefslogtreecommitdiffstats
path: root/test/rspamd_test_suite.c
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-09-19 10:11:52 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-09-19 10:11:52 +0100
commitdedc18feccdb662b69c1fbbf447dc01ed550bd22 (patch)
tree97ec15bc6cb977064e7fc339e1b7aa22e515a54b /test/rspamd_test_suite.c
parentd08955ec925f575a378d5c251c847d59f331ba2b (diff)
downloadrspamd-dedc18feccdb662b69c1fbbf447dc01ed550bd22.tar.gz
rspamd-dedc18feccdb662b69c1fbbf447dc01ed550bd22.zip
[Test] Init URL parser before running unit tests
Diffstat (limited to 'test/rspamd_test_suite.c')
-rw-r--r--test/rspamd_test_suite.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rspamd_test_suite.c b/test/rspamd_test_suite.c
index 2ea73eff3..07b728ecf 100644
--- a/test/rspamd_test_suite.c
+++ b/test/rspamd_test_suite.c
@@ -31,6 +31,7 @@ main (int argc, char **argv)
base = event_init ();
rspamd_stat_init (cfg, base);
+ rspamd_url_init (NULL);
if (g_test_verbose ()) {
cfg->log_level = G_LOG_LEVEL_DEBUG;