Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

hrmm, why didn't Test::Qpsmtpd::Plugin::log work?

  • Loading branch information...
commit e07488d4f66f1dba4ab8daa5dddd5b6de47f359a 1 parent bb0a0cb
@msimerson msimerson authored
Showing with 6 additions and 2 deletions.
  1. +6 −1 t/plugin_tests/auth/auth_vpopmail
  2. +0 −1  t/plugin_tests/ident/geoip
View
7 t/plugin_tests/auth/auth_vpopmail
@@ -1,5 +1,10 @@
#!perl -w
+use strict;
+use warnings;
+
+use Qpsmtpd::Constants;
+
sub register_tests {
my $self = shift;
@@ -17,7 +22,7 @@ sub test_auth_vpopmail {
my $self = shift;
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") };
return;
};
View
1  t/plugin_tests/ident/geoip
@@ -11,7 +11,6 @@ sub register_tests {
eval 'use Geo::IP';
if ( $@ ) {
warn "could not load Geo::IP\n";
- $self->log(LOGERROR, "could not load Geo::IP");
return;
};
Please sign in to comment.
Something went wrong with that request. Please try again.