Commit graph

7 commits

Author SHA1 Message Date
Colin Kuskie
94b03aa3f5 Fix a bug in the json method for getting tax data.
Tests for the json method.
A LOT of California tax data for testing.
2008-03-18 23:34:35 +00:00
Colin Kuskie
52cf8b672c Allow alternations in the tax data, so that it is case insensitive
and allows multiple definitions of an entry (like state, city or country)
2008-03-07 02:16:40 +00:00
Colin Kuskie
d956e58bd7 Change the Shop::Tax system to be hierarchial.
Update all sample tax tables and tests.
2008-03-06 22:34:21 +00:00
Colin Kuskie
cd55ff1a9e Add coverage tests for more bad CSV file handling,
and two files to exercise the header checks in importTaxData
2008-03-05 21:31:29 +00:00
Colin Kuskie
2bc6cd49a7 Remove an extra my from Shop::Cart.
Add the getTaxRates method to Tax, with tests.
Add some calculate code to Tax, with tests, which don't pass yet.
2008-03-05 00:22:40 +00:00
Colin Kuskie
c613e38995 Input validation tests for importTaxData. 2008-02-18 21:23:43 +00:00
Colin Kuskie
95a327ea62 move the CSV tax table into its own subdirectory 2008-02-18 19:48:42 +00:00