From 3a6ad8ce1dc1586b587847eabf4a43bf486dcf66 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 9 Mar 2008 04:36:18 +0000 Subject: [PATCH] fix the same failing issues in ShipDriver in FlatRate --- t/Shop/ShipDriver/FlatRate.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/t/Shop/ShipDriver/FlatRate.t b/t/Shop/ShipDriver/FlatRate.t index e67a5e191..d720222cd 100644 --- a/t/Shop/ShipDriver/FlatRate.t +++ b/t/Shop/ShipDriver/FlatRate.t @@ -72,7 +72,7 @@ cmp_deeply( $definition, [ { name => 'Flat Rate', - fields => { + properties => { flatFee => { fieldType => 'float', label => ignore(), @@ -101,7 +101,7 @@ cmp_deeply( }, { name => 'Shipper Driver', - fields => { + properties => { label => { fieldType => 'text', 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'); ####################################################################### #