Subject: | t/410-UPS_Offline-Rate.t fails |
If the prereqs are met (i.e. Business::Shipping::DataFiles and Config::IniFiles are installed) then t/410-UPS_Offline-Rate.t fails:
...
Any::Moose is deprecated. Please use Moo instead at /usr/home/cpansand/.cpan/build/2019041219/Business-Shipping-3.1.0-4/blib/lib/Business/Shipping.pm line 13.
Useless use of concatenation (.) or string in void context at t/410-UPS_Offline-Rate.t line 311.
Possible precedence issue with control flow operator at /usr/home/cpansand/.cpan/build/2019041219/Business-Shipping-3.1.0-4/blib/lib/Business/Shipping/Shipment.pm line 195.
UPS_Offline.RateRequest.load_table:592 ERROR> file does not exist: /usr/local/B_Shipping/data/976.dat
Business::Shipping::user_error:327 ERROR> Could not get table data
Could not get table dataBusiness::Shipping::user_error:327 ERROR> Could not determine rate.
# Failed test 'UPS domestic single-package API total_charges > 0'
# at t/410-UPS_Offline-Rate.t line 103.
Business::Shipping::user_error:327 ERROR> Could not determine rate.
Use of uninitialized value in concatenation (.) or string at t/410-UPS_Offline-Rate.t line 105.
UPS_Offline.RateRequest.load_table:592 ERROR> file does not exist: /usr/local/B_Shipping/data/976.dat
Business::Shipping::user_error:327 ERROR> Could not get table data
Could not get table dataBusiness::Shipping::user_error:327 ERROR> Could not determine rate.
...
# Failed test 'UPS Offline: Canada UPS Standard: '
# at t/410-UPS_Offline-Rate.t line 510.
Business::Shipping::user_error:327 ERROR> Could not determine rate.
Use of uninitialized value in concatenation (.) or string at t/410-UPS_Offline-Rate.t line 511.
UPS_Offline.RateRequest.load_table:592 ERROR> file does not exist: /usr/local/B_Shipping/data/976.dat
Business::Shipping::user_error:327 ERROR> Could not get table data
Could not get table data at t/410-UPS_Offline-Rate.t line 618.
# Looks like your test exited with 2 just after 31.
t/410-UPS_Offline-Rate.t ......
Dubious, test returned 2 (wstat 512, 0x200)
Failed 17/31 subtests
(less 12 skipped subtests: 2 okay)
...