fix the same failing issues in ShipDriver in FlatRate
This commit is contained in:
parent
7990e0cc38
commit
3a6ad8ce1d
1 changed files with 3 additions and 3 deletions
|
|
@ -72,7 +72,7 @@ cmp_deeply(
|
||||||
$definition,
|
$definition,
|
||||||
[ {
|
[ {
|
||||||
name => 'Flat Rate',
|
name => 'Flat Rate',
|
||||||
fields => {
|
properties => {
|
||||||
flatFee => {
|
flatFee => {
|
||||||
fieldType => 'float',
|
fieldType => 'float',
|
||||||
label => ignore(),
|
label => ignore(),
|
||||||
|
|
@ -101,7 +101,7 @@ cmp_deeply(
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name => 'Shipper Driver',
|
name => 'Shipper Driver',
|
||||||
fields => {
|
properties => {
|
||||||
label => {
|
label => {
|
||||||
fieldType => 'text',
|
fieldType => 'text',
|
||||||
label => ignore(),
|
label => ignore(),
|
||||||
|
|
@ -150,7 +150,7 @@ cmp_deeply($driver->options, $options, 'options accessor works');
|
||||||
#
|
#
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
is ($driver->getName, 'Flat Rate', 'getName returns the human readable name of this driver');
|
is (WebGUI::Shop::ShipDriver::FlatRate->getName($session), 'Flat Rate', 'getName returns the human readable name of this driver');
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue