another test might set it, which changes the test outcome --- t/plugin_tests/dnsbl | 1 + 1 file changed, 1 insertion(+)
diff --git a/t/plugin_tests/dnsbl b/t/plugin_tests/dnsbl index 0440a80..0995be7 100644 --- a/t/plugin_tests/dnsbl +++ b/t/plugin_tests/dnsbl @@ -51,6 +51,7 @@ sub test_hook_connect { my $self = shift; my $connection = $self->qp->connection; + $connection->relay_client(0); # other tests may leave it enabled $connection->remote_ip('127.0.0.2'); # standard dnsbl test value cmp_ok( DECLINED, '==', $self->hook_connect($self->qp->transaction), -- 1.7.9.6