Commit graph

258 commits

Author SHA1 Message Date
Colin Kuskie
be37f12ab1 Clone stopped working in several tests in 5.14.2. Remove it in favor of Storable::dclone.
Clone handles being passed scalar data, but dclone does not.
2012-10-23 10:00:53 -07:00
Colin Kuskie
7f8349e708 Update test to make it more robust as USPS International adds more shipping options. 2012-08-20 17:41:04 -07:00
Colin Kuskie
1eb5579f67 Update test for change in USPS International service options. 2012-03-17 17:42:58 -07:00
Colin Kuskie
428ea58327 Add better support for user profile fields for addresses to the Cart and the EMS. 2011-08-11 16:27:29 -07:00
Colin Kuskie
3b7dd524db When a Sku is purged, delete it from all carts. Better handling for cartItems whose assets have been deleted. Fixes bug #12213 2011-08-02 10:00:53 -07:00
Colin Kuskie
2bcda0c9f5 Change the generic tax driver to remove spaces around commas when adding a new row. Add tests and a convenience method for getting one line of tax information. Upgrade sub fixes any information already in the db. 2011-06-30 16:20:14 -07:00
Colin Kuskie
444c006aae Add a test for multiple tax entries with different case. First one wins. 2011-05-30 09:31:02 -07:00
Colin Kuskie
d5ba73fac7 Add the organization part of an address into the transaction and transactionitem. Fixes bug #12088. 2011-04-05 15:10:23 -07:00
Colin Kuskie
8525e4b7ee Don't refund transactionItems unless the transaction is successful, or if the item is already canceled. Also, no not call onCancelRecurring for normal Sku's unless they're really recurring. Fixes bug #12089. 2011-04-04 14:45:53 -07:00
Colin Kuskie
a96a9c3989 Update tests to handle new data being returned from USPS, for both domestic and international shipping. No driver changes required so far. 2011-01-10 13:24:00 -08:00
Martin Kamerbeek
10ea82d6ec Don't let the cart crash on invalid addressIds 2010-12-22 13:31:16 +00:00
Martin Kamerbeek
f748aa1b83 Return a list of shipper to choose from in stead of none if no shipper has be chosen yet. 2010-12-22 13:11:56 +00:00
Colin Kuskie
82ed3f03b8 Fix shop credit display and calculations in the PayDriver. Fixes bug #11891 2010-10-04 14:20:45 -07:00
Colin Kuskie
7f0657927d Add purge method to Shop::Credit, tests. 2010-10-04 14:20:08 -07:00
Colin Kuskie
f65ae74e54 Format the subtotal variable in the Payment driver to 2 decimal places. Fixes bug #11813 2010-09-02 12:51:54 -07:00
Colin Kuskie
d06b7b547d Fix a test with random false fails. 2010-08-10 21:24:21 -07:00
Colin Kuskie
cb2bb75d23 Remove notes and diags 2010-08-10 16:32:10 -07:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
fe1ac66cca remove useless test END blocks 2010-06-10 10:09:45 -05:00
Colin Kuskie
53721581a1 Fix cleanup of Inbox messages for users. Provide a method for cleaning up Admin's messages. 2010-06-09 17:24:21 -07:00
Colin Kuskie
8a62abc3ef Add cleanup for AdSpaces, END block cleanup. 2010-06-07 18:53:39 -07:00
Colin Kuskie
b728eabd7b Add cleanup for Shop::Vendors. More end block removal. 2010-06-07 18:45:59 -07:00
Colin Kuskie
41b7413d01 More END block work. 2010-06-07 18:30:41 -07:00
Colin Kuskie
29d0d72999 Fix a syntax error I introduced into the Ogone test. 2010-05-02 00:50:35 -07:00
Colin Kuskie
dbca5b31d9 Cleanup more tests that are leaking carts due to address book useId issues. 2010-05-02 00:17:03 -07:00
Colin Kuskie
02c4c5cf47 Cleanup tests that were leaking carts. 2010-05-01 23:54:34 -07:00
Colin Kuskie
69a2710eff Update the EU tax test for new Cart code. 2010-05-01 22:56:36 -07:00
Colin Kuskie
67f584d985 Update this test for new Shop 1.5 code. 2010-04-29 23:03:34 -07:00
Colin Kuskie
440981827e Update Ogone test for new payment driver code. 2010-04-29 22:51:55 -07:00
Colin Kuskie
1f774a8074 Update for new cart and transaction code. 2010-04-29 22:47:55 -07:00
Colin Kuskie
e2c70ddef1 Update Cart test for new Cart 1.5 code 2010-04-29 22:38:51 -07:00
Colin Kuskie
d29a4c68aa Update test for code changes in Shop 1.5 2010-04-29 22:27:22 -07:00
Colin Kuskie
5ad1605185 Update address tests for new code. 2010-04-29 22:25:31 -07:00
Colin Kuskie
b537bfae6b Adapt AddressBook tests for new AddressBook code. 2010-04-29 22:24:12 -07:00
Martin Kamerbeek
02f4211f12 Typo caused EU TaxDriver to not charge taxes for shipping addresses in France. 2010-01-28 10:39:40 +01:00
Martin Kamerbeek
2e5250afe1 Refactored EU tax plugin code to reduce code duplication and added tests. 2009-12-18 13:45:50 +01:00
Martin Kamerbeek
e88b0ca0d7 Adding VIES recheck workflow and tests. 2009-12-15 22:59:54 +01:00
Colin Kuskie
cc0cc0ba64 Have the USPS shipping driver accept ZIP+4, even if USPS doesn't. 2009-11-28 19:23:35 -08:00
Colin Kuskie
fa7e1062c9 Add a test to make sure line item address changes are processed correctly in the USPS domestic driver. 2009-11-17 19:22:51 -08:00
Colin Kuskie
f3e699e9a7 Retrofit UPS to use Locales instead of Locales::Country. Fixes bug #11221
Updated tests, module, gotcha.txt, and testEnvironment.pl
2009-11-17 09:37:05 -08:00
Colin Kuskie
d14fcd963c Fix test plan for SKIPS. 2009-11-15 20:36:30 -08:00
Colin Kuskie
e647c013b9 Add a few more tests to hit coverage. Check for non-numeric package IDs. 2009-11-07 12:56:43 -08:00
Colin Kuskie
9206a0b80f Add insurance option. 2009-11-06 21:21:20 -08:00
Colin Kuskie
0b483521e8 Update tests for new driver. 2009-11-06 20:15:09 -08:00
Colin Kuskie
6543ed5027 All tests passing, able to talk to USPS and get rates for multiple package configurations. 2009-11-06 19:43:12 -08:00
Colin Kuskie
c1f7788309 Copy tests from USPS. Add insurance back to the International driver. Reverse the country check. 2009-11-05 15:33:17 -08:00
Colin Kuskie
63b797c875 Format oz in the USPS shipping driver to the nearest tenth of an oz. Change the minimum to be 0.1 oz 2009-11-05 12:38:56 -08:00
Colin Kuskie
977f0273f9 Note XML for per package errors. 2009-11-05 09:03:50 -08:00
Colin Kuskie
c871c0372d The current USPS driver only works on domestic shipments. 2009-11-05 08:18:10 -08:00
Colin Kuskie
fc6acc7be3 Change how the shipping driver throws errors. Fixes bug #11202. 2009-11-04 14:08:42 -08:00