dnsbl test: remove hook_disconnect test

This commit is contained in:
Matt Simerson 2012-06-23 03:13:39 -04:00
parent a6cfb68392
commit 64b59d73c4

View File

@ -11,7 +11,6 @@ sub register_tests {
$self->register_test('test_hook_connect', 1); $self->register_test('test_hook_connect', 1);
$self->register_test('test_ip_whitelisted', 3); $self->register_test('test_ip_whitelisted', 3);
$self->register_test('test_is_set_rblsmtpd', 4); $self->register_test('test_is_set_rblsmtpd', 4);
$self->register_test('test_hook_disconnect', 1);
$self->register_test('test_reject_type', 3); $self->register_test('test_reject_type', 3);
} }
@ -57,13 +56,6 @@ sub test_hook_connect {
cmp_ok( $rc, '==', DENY, "connect +"); cmp_ok( $rc, '==', DENY, "connect +");
} }
sub test_hook_disconnect {
my $self = shift;
cmp_ok( DECLINED, '==', $self->hook_connect($self->qp->transaction),
"hook_disconnect +");
}
sub test_reject_type { sub test_reject_type {
my $self = shift; my $self = shift;