From e130fb2c69874b4cba515f590f3619c0a2964a0b Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 8 Oct 2010 14:20:49 -0700 Subject: [PATCH] Fix pluginName for ITransact. --- lib/WebGUI/Shop/PayDriver/ITransact.pm | 2 +- t/Shop/PayDriver/ITransact.t | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Shop/PayDriver/ITransact.pm b/lib/WebGUI/Shop/PayDriver/ITransact.pm index fb6fa3571..a106b7e63 100644 --- a/lib/WebGUI/Shop/PayDriver/ITransact.pm +++ b/lib/WebGUI/Shop/PayDriver/ITransact.pm @@ -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'], diff --git a/t/Shop/PayDriver/ITransact.t b/t/Shop/PayDriver/ITransact.t index 273f4aaa2..d9af9e59f 100644 --- a/t/Shop/PayDriver/ITransact.t +++ b/t/Shop/PayDriver/ITransact.t @@ -112,6 +112,14 @@ if (!$password) { $password = "joePass"; } +####################################################################### +# +# getName +# +####################################################################### + +ok(WebGUI::Shop::PayDriver::ITransact->getName($session), 'getName returns a name'); + ####################################################################### # # _generatePaymentRequestXML