From 85cead39f8fede5ca0669430f7fc572ecae577c2 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 14 Nov 2012 23:27:49 -0500 Subject: [PATCH] SPF: removed test for removed is_in_relayclients() --- t/plugin_tests/sender_permitted_from | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/t/plugin_tests/sender_permitted_from b/t/plugin_tests/sender_permitted_from index 342586c..7aface6 100644 --- a/t/plugin_tests/sender_permitted_from +++ b/t/plugin_tests/sender_permitted_from @@ -13,23 +13,9 @@ sub register_tests { eval 'use Mail::SPF'; return if $@; - $self->register_test('test_is_in_relayclients', 2); $self->register_test('test_is_special_recipient', 5); } -sub test_is_in_relayclients { - my $self = shift; - - my $transaction = $self->qp->transaction; - $self->qp->connection->remote_ip('192.1.7.8'); - ok( ! $self->is_in_relayclients( $transaction ), "is_in_relayclients -"); - - $self->qp->connection->relay_client(0); - $self->qp->connection->remote_ip('192.0.7.5'); - my $client_ip = $self->qp->connection->remote_ip; - ok( $client_ip, "relayclients ($client_ip)"); -}; - sub test_is_special_recipient { my $self = shift;