From 8d52a3f54849181231df7dc55d4730fd41660bf6 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 14 Nov 2012 18:21:21 -0500 Subject: [PATCH] dnsbl: fixed plugin test failure --- t/plugin_tests/dnsbl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/plugin_tests/dnsbl b/t/plugin_tests/dnsbl index 517c220..28bd775 100644 --- a/t/plugin_tests/dnsbl +++ b/t/plugin_tests/dnsbl @@ -48,8 +48,12 @@ sub test_is_set_rblsmtpd { sub test_hook_connect { my $self = shift; + # reset values that other tests may have fiddled with my $conn = $self->qp->connection; $conn->relay_client(0); # other tests may leave it enabled + $conn->notes('whitelisthost', '' ); + $conn->notes('whitelistsender', ''); + $conn->notes('naughty', ''); $conn->remote_ip('127.0.0.2'); # standard dnsbl test value my ($rc, $mess) = $self->hook_connect($self->qp->transaction);