Fix pluginName for ITransact.

This commit is contained in:
Colin Kuskie 2010-10-08 14:20:49 -07:00
parent 8b32efdc3b
commit e130fb2c69
2 changed files with 9 additions and 1 deletions

View file

@ -24,7 +24,7 @@ use HTTP::Request;
use Moose;
use WebGUI::Definition::Shop;
extends 'WebGUI::Shop::PayDriver';
define pluginName => [qw/label PayDriver_ITransact/];
define pluginName => [qw/ITransact PayDriver_ITransact/];
property vendorId => (
fieldType => 'text',
label => ['vendorId', 'PayDriver_ITransact'],

View file

@ -112,6 +112,14 @@ if (!$password) {
$password = "joePass";
}
#######################################################################
#
# getName
#
#######################################################################
ok(WebGUI::Shop::PayDriver::ITransact->getName($session), 'getName returns a name');
#######################################################################
#
# _generatePaymentRequestXML