interchange / interchange6-schema

DBIC schema for Interchange 6
8 stars 7 forks source link

Flat rate shipping price test fails #105

Closed racke closed 10 years ago

racke commented 10 years ago

http://www.cpantesters.org/cpan/report/47bf01c2-22e1-11e4-bcd4-c3d4dfbfc7aa

t/test_postgresql.t ......... skipped: Test::PostgreSQL required
# with Test::Fixtures Test::BaseAttribute Test::Expire Test::Media Test::Message Test::Navigation Test::Payment Test::Shipment Test::Tax Test::User Test::Variant Test::Zone
    # using DBD::SQLite 1.42
        # Test::Fixtures
        # Test::BaseAttribute
        # Test::Expire
        # Test::Media
        # Test::Message
        # Test::Navigation
        # Test::Payment
        # Test::Shipment

        #   Failed test 'Testing flat rate shipping price for UPS Ground lower 48 states.'
        #   at t/lib/Test/Shipment.pm line 95.
        # Flat rate shipping price. 9,95
        # Looks like you failed 1 test of 8.

    #   Failed test 'shipment tests'
    #   at /opt/perl-5.21.2/lib/site_perl/5.21.2/Test/Roo.pm line 39.
        # Test::Tax
        # Test::User
        # Test::Variant
        # Test::Zone
    # Looks like you failed 1 test of 25.
SysPete commented 10 years ago

format_number uses default locale for decimal point thus randomly breaking test so test now uses numerical comparision without format_number.