From e4d50a27d91da0d13dd2d4edcbe27761dd0b3bf0 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Sat, 23 Jun 2012 03:13:39 -0400 Subject: [PATCH] dnsbl test: remove hook_disconnect test --- t/plugin_tests/dnsbl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/t/plugin_tests/dnsbl b/t/plugin_tests/dnsbl index 9d42665..517c220 100644 --- a/t/plugin_tests/dnsbl +++ b/t/plugin_tests/dnsbl @@ -11,7 +11,6 @@ sub register_tests { $self->register_test('test_hook_connect', 1); $self->register_test('test_ip_whitelisted', 3); $self->register_test('test_is_set_rblsmtpd', 4); - $self->register_test('test_hook_disconnect', 1); $self->register_test('test_reject_type', 3); } @@ -57,13 +56,6 @@ sub test_hook_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 { my $self = shift;