Fix a syntax error I introduced into the Ogone test.

This commit is contained in:
Colin Kuskie 2010-05-02 00:50:35 -07:00
parent 8fe4c331d9
commit 29d0d72999

View file

@ -22,6 +22,7 @@ use WebGUI::Test; # Must use this before any other WebGUI modules
use WebGUI::Session; use WebGUI::Session;
use JSON; use JSON;
use HTML::Form; use HTML::Form;
use WebGUI::Shop::PayDriver::Ogone;
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Init # Init
@ -31,21 +32,13 @@ my $session = WebGUI::Test->session;
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Tests # Tests
my $tests = 45; plan tests => 45;
plan tests => 1 + $tests;
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# figure out if the test can actually run # figure out if the test can actually run
my $e; my $e;
note('Testing existence');
my $loaded = use_ok('WebGUI::Shop::PayDriver::Ogone');
SKIP: {
skip 'Unable to load module WebGUI::Shop::PayDriver::Ogone', $tests unless $loaded;
####################################################################### #######################################################################
# #
# definition # definition