From ea19e4bc7fcacb261d4eb4b1e92533af055875f7 Mon Sep 17 00:00:00 2001 From: Stefan Strigler Date: Mon, 9 Jun 2025 16:35:10 +0200 Subject: [PATCH] mod_antispam: remove unnecessary check in test this was left over from debugging issues with fixtures --- test/antispam_tests.erl | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/antispam_tests.erl b/test/antispam_tests.erl index 7c3b053b1..da69bd630 100644 --- a/test/antispam_tests.erl +++ b/test/antispam_tests.erl @@ -81,8 +81,6 @@ uncache_blocked_jid(Config) -> is_not_spam(message_hello(<<"spammer">>, <<"localhost">>, Config)). check_blocked_domain(Config) -> - Host = ?config(server, Config), - ?retry(100, 10, ?match(true, (has_spam_domain(<<"spam_domain.org">>))(Host))), is_spam(message_hello(<<"other_spammer">>, <<"spam_domain.org">>, Config)). unblock_domain(Config) ->