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:
parent
6122a525d2
commit
ea19e4bc7f
1 changed files with 0 additions and 2 deletions
|
@ -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) ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue