diff --git a/t/Shop/Ship.t b/t/Shop/Ship.t index 3db92dce6..a75073f33 100644 --- a/t/Shop/Ship.t +++ b/t/Shop/Ship.t @@ -93,8 +93,9 @@ cmp_bag( [ 'WebGUI::Shop::ShipDriver::FlatRate', 'WebGUI::Shop::ShipDriver::USPS', + 'WebGUI::Shop::ShipDriver::UPS', ], - 'getDrivers: WebGUI only ships with 1 default shipping driver', + 'getDrivers: WebGUI ships with 3 default shipping drivers', ); ####################################################################### diff --git a/t/Shop/ShipDriver/UPS.t b/t/Shop/ShipDriver/UPS.t index 40c2a4d9b..5aeab8a00 100644 --- a/t/Shop/ShipDriver/UPS.t +++ b/t/Shop/ShipDriver/UPS.t @@ -434,7 +434,7 @@ SKIP: { my $xmlData = XMLin($response->content, ForceArray => [qw/RatedPackage/],); ok($xmlData->{Response}->{ResponseStatusCode}, '... responseCode is successful'); ok($xmlData->{RatedShipment}->{TotalCharges}->{MonetaryValue}, '... total charges returned'); - diag($xmlData->{RatedShipment}->{TotalCharges}->{MonetaryValue}); + #diag($xmlData->{RatedShipment}->{TotalCharges}->{MonetaryValue}); } @@ -451,7 +451,7 @@ SKIP: { my $xmlData = XMLin($response->content, ForceArray => [qw/RatedPackage/],); ok($xmlData->{Response}->{ResponseStatusCode}, '... responseCode is successful'); ok($xmlData->{RatedShipment}->{TotalCharges}->{MonetaryValue}, '... total charges returned'); - diag($xmlData->{RatedShipment}->{TotalCharges}->{MonetaryValue}); + #diag($xmlData->{RatedShipment}->{TotalCharges}->{MonetaryValue}); } @@ -475,7 +475,7 @@ $xmlRate = XMLin( $xmlR, ForceArray => ['Package'], ); -diag Dumper $xmlRate; +#diag Dumper $xmlRate; cmp_deeply( $xmlRate, { @@ -517,7 +517,7 @@ SKIP: { my $xmlData = XMLin($response->content, ForceArray => [qw/RatedPackage/],); ok($xmlData->{Response}->{ResponseStatusCode}, '... responseCode is successful'); ok($xmlData->{RatedShipment}->{TotalCharges}->{MonetaryValue}, '... total charges returned'); - diag $xmlData->{RatedShipment}->{TotalCharges}->{MonetaryValue}; + #diag $xmlData->{RatedShipment}->{TotalCharges}->{MonetaryValue}; }