fix dmarc plugin tests
This commit is contained in:
parent
db8ec50c3a
commit
fc3117fe60
@ -59,6 +59,7 @@ rcpt_ok
|
|||||||
headers days 5 reject_type temp require From,Date
|
headers days 5 reject_type temp require From,Date
|
||||||
domainkeys
|
domainkeys
|
||||||
dkim
|
dkim
|
||||||
|
dmarc
|
||||||
|
|
||||||
# content filters
|
# content filters
|
||||||
virus/klez_filter
|
virus/klez_filter
|
||||||
|
@ -14,7 +14,7 @@ sub register_tests {
|
|||||||
|
|
||||||
$self->register_test('test_get_organizational_domain', 2);
|
$self->register_test('test_get_organizational_domain', 2);
|
||||||
$self->register_test("test_fetch_dmarc_record", 3);
|
$self->register_test("test_fetch_dmarc_record", 3);
|
||||||
$self->register_test("test_discover_policy", 3);
|
$self->register_test("test_discover_policy", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub setup_test_headers {
|
sub setup_test_headers {
|
||||||
@ -62,7 +62,6 @@ sub test_discover_policy {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
$self->setup_test_headers();
|
$self->setup_test_headers();
|
||||||
my $transaction = $self->qp->transaction;
|
|
||||||
|
|
||||||
ok( $self->discover_policy( $transaction ), 'discover_policy' );
|
ok( $self->discover_policy( 'tnpi.net' ), 'discover_policy' );
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user