Skip to content

Commit

Permalink
use dev test servers
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeters committed May 21, 2012
1 parent 4f2403d commit 31bde15
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions t/02-server_list.t
Expand Up @@ -10,6 +10,7 @@ my $mollom = Net::Mollom->new(
public_key => '72446602ffba00c907478c8f45b83b03',
);
isa_ok($mollom, 'Net::Mollom');
$mollom->servers(['dev.mollom.com']);

SKIP: {
my @servers;
Expand Down
2 changes: 2 additions & 0 deletions t/04-check_content.t
Expand Up @@ -12,6 +12,8 @@ my $mollom = Net::Mollom->new(
);
isa_ok($mollom, 'Net::Mollom');

$mollom->servers(['dev.mollom.com']);

# check parameter validation
my $check;
eval { $check = $mollom->check_content(foo => 1) };
Expand Down
2 changes: 2 additions & 0 deletions t/05-send_feedback.t
Expand Up @@ -11,6 +11,8 @@ my $mollom = Net::Mollom->new(
public_key => '72446602ffba00c907478c8f45b83b03',
);
isa_ok($mollom, 'Net::Mollom');
$mollom->servers(['dev.mollom.com']);

my $check;
SKIP: {
eval {
Expand Down
1 change: 1 addition & 0 deletions t/06-get_image_captcha.t
Expand Up @@ -10,6 +10,7 @@ my $mollom = Net::Mollom->new(
public_key => '72446602ffba00c907478c8f45b83b03',
);
isa_ok($mollom, 'Net::Mollom');
$mollom->servers(['dev.mollom.com']);

# check parameter validation
eval { $mollom->get_image_captcha(foo => 1) };
Expand Down
1 change: 1 addition & 0 deletions t/07-get_audio_captcha.t
Expand Up @@ -11,6 +11,7 @@ my $mollom = Net::Mollom->new(
public_key => '72446602ffba00c907478c8f45b83b03',
);
isa_ok($mollom, 'Net::Mollom');
$mollom->servers(['dev.mollom.com']);

# check parameter validation
eval { $mollom->get_audio_captcha(foo => 1) };
Expand Down
1 change: 1 addition & 0 deletions t/08-get_statistics.t
Expand Up @@ -11,6 +11,7 @@ my $mollom = Net::Mollom->new(
public_key => '72446602ffba00c907478c8f45b83b03',
);
isa_ok($mollom, 'Net::Mollom');
$mollom->servers(['dev.mollom.com']);

# test parameter validation
eval { $mollom->get_statistics };
Expand Down
1 change: 1 addition & 0 deletions t/09-check_captcha.t
Expand Up @@ -11,6 +11,7 @@ my $mollom = Net::Mollom->new(
public_key => '72446602ffba00c907478c8f45b83b03',
);
isa_ok($mollom, 'Net::Mollom');
$mollom->servers(['dev.mollom.com']);

# check parameter validation
eval { $mollom->check_captcha() };
Expand Down

0 comments on commit 31bde15

Please sign in to comment.