Commit graph

240 commits

Author SHA1 Message Date
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
Colin Kuskie
b4112e8d3d Update tests for UPS driver. Cleanup diags. 2009-11-03 20:57:53 -08:00
Colin Kuskie
deff69ae14 Merge commit 'ups-driver/master' 2009-11-03 20:37:53 -08:00
Colin Kuskie
b3858ef250 Fix bug #10914.
Move email notifications about of PayDriver and into Transaction.  Send
a notification when the cart value is 0 due to shop credit.
2009-10-13 16:37:20 -07:00
Colin Kuskie
993f6d0cc2 Use the new Shop cleanup for carts and shipping drivers. 2009-10-10 16:51:57 -07:00
Colin Kuskie
23b1cb47c5 Parse tests, handling spaces. 2009-10-10 16:27:33 -07:00
Colin Kuskie
4ef66d1a51 More tests, refactor out rate parsing code. 2009-10-10 15:06:13 -07:00
Colin Kuskie
829c8ce9d8 USPS Insurance estimation code and tests. Basically working. 2009-10-09 16:28:20 -07:00
Colin Kuskie
e81ec9718c Cleanup previous attempt at insurance. Begin new attempt.
Add a field to the driver where the user can enter in insurance data with i18n.
Add a method to calculate the cost of insurance for all packages.
2009-10-07 19:53:43 -07:00
Colin Kuskie
2b4bfb8eec Test whether ValueOfContents works in Domestic rate estimates. 2009-10-07 19:53:43 -07:00
Colin Kuskie
e5ead13da3 Force the user to pick a shipping method before checking out. Implements RFE #10940
If there is only 1 shipping method, automatically choose it.  Displays
an message to the user if they have an address, but no shipping method.
2009-09-28 10:04:52 -07:00
Colin Kuskie
5144dfa04f More test cleanups. 2009-09-25 19:35:23 -07:00
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Colin Kuskie
43f6dced9b Fix a bad plan in the AddressBook test. 2009-09-22 09:19:12 -07:00
Colin Kuskie
323edd888e More tests for bug fix #11009.
Abstract out making a session in WebGUI::Test.  Update POD
in Shop/Address.  Add tests for newBySession, showing that
the previous commit that allows update to update addressBookId
actually fixed the bug in question.
2009-09-21 19:44:43 -07:00
Colin Kuskie
f2e8d6a70b Allow addressBookId to be updated in an Address.
This is required for Address Book merging to work correctly in
Shop::AddressBook->newBySession.
2009-09-21 17:27:25 -07:00
Graham Knop
464d0c2850 correct test quantity for USPS ship driver 2009-09-16 19:11:23 -05:00
Colin Kuskie
ff55ab1493 For USPS priority service, add another container type. 2009-09-06 20:23:12 -07:00
Colin Kuskie
e9e2155254 Handle UTF8 in XML data sent to ITransact. Adds a test. Fixes bug #10855. 2009-09-01 15:42:39 +00:00