Skip to content

Commit

Permalink
hrmm, why didn't Test::Qpsmtpd::Plugin::log work?
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed May 22, 2012
1 parent bb0a0cb commit e07488d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion t/plugin_tests/auth/auth_vpopmail
@@ -1,5 +1,10 @@
#!perl -w #!perl -w


use strict;
use warnings;

use Qpsmtpd::Constants;

sub register_tests { sub register_tests {
my $self = shift; my $self = shift;


Expand All @@ -17,7 +22,7 @@ sub test_auth_vpopmail {
my $self = shift; my $self = shift;


if ( ! $self->test_vpopmail_module ) { if ( ! $self->test_vpopmail_module ) {
$self->log(LOGERROR, "vpopmail plugin not configured" ); warn "vpopmail plugin not configured\n";
foreach ( 0..2) { ok( 1, "test_auth_vpopmail, skipped") }; foreach ( 0..2) { ok( 1, "test_auth_vpopmail, skipped") };
return; return;
}; };
Expand Down
1 change: 0 additions & 1 deletion t/plugin_tests/ident/geoip
Expand Up @@ -11,7 +11,6 @@ sub register_tests {
eval 'use Geo::IP'; eval 'use Geo::IP';
if ( $@ ) { if ( $@ ) {
warn "could not load Geo::IP\n"; warn "could not load Geo::IP\n";
$self->log(LOGERROR, "could not load Geo::IP");
return; return;
}; };


Expand Down

0 comments on commit e07488d

Please sign in to comment.