use note instead of diag in tests for non-error debug output

This commit is contained in:
Graham Knop 2009-09-23 08:29:05 -05:00
parent 929c012075
commit 67b729fee0
30 changed files with 50 additions and 50 deletions

View file

@ -40,7 +40,7 @@ plan tests => 1 + $tests;
#----------------------------------------------------------------------------
# figure out if the test can actually run
diag('Testing existence');
note('Testing existence');
my $loaded = use_ok('WebGUI::Shop::PayDriver::ITransact');
my $e;
@ -96,7 +96,7 @@ skip 'Unable to load module WebGUI::Shop::PayDriver::ITransact', $tests unless $
#
#######################################################################
diag('Testing definition');
note('Testing definition');
my $definition;
eval { $definition = WebGUI::Shop::PayDriver::ITransact->definition(); };
@ -294,7 +294,7 @@ TODO: {
SKIP: {
skip "Skipping XML requests to ITransact due to lack of userId and password", 2 unless $hasTestAccount;
my $response = eval { $driver->doXmlRequest($xml) };
diag 'doXmlrequest';
note 'doXmlrequest';
isa_ok($response, 'HTTP::Response', 'returns a HTTP::Response object');
ok( $response->is_success, '... was successful');
}
@ -313,7 +313,7 @@ SKIP: {
my $response = eval { $driver->doXmlRequest($xml) };
isa_ok($response, 'HTTP::Response', 'returns a HTTP::Response object');
ok( $response->is_success, '... was successful');
diag $response->content;
note $response->content;
}
#######################################################################

View file

@ -39,7 +39,7 @@ plan tests => 1 + $tests;
my $e;
diag('Testing existence');
note('Testing existence');
my $loaded = use_ok('WebGUI::Shop::PayDriver::Ogone');
SKIP: {
@ -52,7 +52,7 @@ skip 'Unable to load module WebGUI::Shop::PayDriver::Ogone', $tests unless $load
#
#######################################################################
diag('Testing definition');
note('Testing definition');
my $definition;
eval { $definition = WebGUI::Shop::PayDriver::Ogone->definition(); };