1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +02:00

mod_antispam: remove unnecessary check in test

this was left over from debugging issues with fixtures
This commit is contained in:
Stefan Strigler 2025-06-09 16:35:10 +02:00
parent 6122a525d2
commit ea19e4bc7f

View file

@ -81,8 +81,6 @@ uncache_blocked_jid(Config) ->
is_not_spam(message_hello(<<"spammer">>, <<"localhost">>, Config)). is_not_spam(message_hello(<<"spammer">>, <<"localhost">>, Config)).
check_blocked_domain(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)). is_spam(message_hello(<<"other_spammer">>, <<"spam_domain.org">>, Config)).
unblock_domain(Config) -> unblock_domain(Config) ->