Update tests for modified code, and for CSRF checks.
This commit is contained in:
parent
754fe6a800
commit
8dcd511a8b
7 changed files with 36 additions and 18 deletions
|
|
@ -143,10 +143,10 @@ is($newDriver->get('label'), 'Cold, stone hard cash', 'label passed correctly to
|
|||
my $drivers = $pay->getDrivers();
|
||||
|
||||
my $defaultPayDrivers = {
|
||||
'WebGUI::Shop::PayDriver::Cash' => 'Cash',
|
||||
'WebGUI::Shop::PayDriver::ITransact' => 'Credit Card (ITransact)',
|
||||
'WebGUI::Shop::PayDriver::PayPal::PayPalStd' => 'PayPal',
|
||||
'WebGUI::Shop::PayDriver::Ogone' => 'Ogone',
|
||||
'WebGUI::Shop::PayDriver::Cash' => 'Cash',
|
||||
'WebGUI::Shop::PayDriver::ITransact' => 'Credit Card (ITransact)',
|
||||
'WebGUI::Shop::PayDriver::PayPal' => 'PayPal',
|
||||
'WebGUI::Shop::PayDriver::Ogone' => 'Ogone',
|
||||
};
|
||||
|
||||
cmp_deeply( $drivers, $defaultPayDrivers, 'getDrivers returns the default PayDrivers');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue