Commit graph

192 commits

Author SHA1 Message Date
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
Colin Kuskie
6d393fe269 Make Ogone.t test for its own name. 2009-08-31 21:30:54 +00:00
Colin Kuskie
33d2914c28 More test maintenance for Payment drivers. 2009-07-23 20:57:51 +00:00
Colin Kuskie
f2a295dc21 Update for recent code swizzle. 2009-07-23 20:52:51 +00:00
Colin Kuskie
6b2935305f Update Ogone tests for new driver code. 2009-07-20 15:37:08 +00:00
Colin Kuskie
dc226e3268 canUse should check whether the driver is enabled or not.
PayDrivers update the local object cache on update.
2009-07-20 15:31:32 +00:00
Colin Kuskie
8dcd511a8b Update tests for modified code, and for CSRF checks. 2009-07-16 22:35:49 +00:00
Colin Kuskie
a85924d07b Add group privilege checking to the Shipping Drivers 2009-06-18 23:24:33 +00:00
Colin Kuskie
9a6a2e4549 Update this test to account for the new driver. 2009-05-19 22:16:57 +00:00
Martin Kamerbeek
bfc140a365 Improved and templated VAT Number management. 2009-05-15 17:20:49 +00:00
Martin Kamerbeek
489313a0b9 Adding Ogone payment plugin 2009-05-15 13:29:04 +00:00
Colin Kuskie
8d371b320c Update this test for adding a new PayDriver. 2009-05-14 03:43:24 +00:00
Colin Kuskie
53e3f5b2a7 Better cart cleanup, so it also removes the CartItems. 2009-05-14 02:06:59 +00:00
Colin Kuskie
6dafc0b99b Cleanup the sku created for testing.
Use the new WebGUI::Test->usersToDelete for user cleanup.
2009-05-14 01:48:26 +00:00
Colin Kuskie
b877e8fa05 Add a basic test for the PayPalStd driver. 2009-05-13 23:47:05 +00:00
Colin Kuskie
3f8abbc29d Update this test to work with the new USPS driver. 2009-05-13 03:01:31 +00:00
Colin Kuskie
cbdd6077d5 Add USPS Shipping Driver with tests, and i18n.
Change the Ship, Cart to do exception handling when calling a shipping driver,
as that's the message passing interface between the modules.
Add a noFormProcess field property that is recognized by processPropertiesFromFormPost.
2009-05-12 23:58:19 +00:00
Martin Kamerbeek
7fb87de71d Added the methods for the pluggable tax system that add templ vars to the cart and cart items. 2009-05-08 13:34:42 +00:00
Martin Kamerbeek
9d90b92629 Tax details are now stored with the transaction items they belong to. 2009-05-08 10:03:25 +00:00
Martin Kamerbeek
461c80a6b8 Pluggable Tax: more POD, more tests, better code and less bugs 2009-05-06 13:33:16 +00:00
Colin Kuskie
d7f2aca1e4 Test clean-up for users and groups in Shop/Vendor and all Macro tests. 2009-04-30 23:57:39 +00:00
Colin Kuskie
db290f91f9 Add an option to the Sku to require individual shipping of this sku, separate
from other items in the cart.  Update the FlatRate driver to support calculating that.
2009-04-29 16:52:16 +00:00
Colin Kuskie
a75cd108b1 Add back code for throwing exceptions when session is not passed
to class methods.
2009-04-24 03:47:40 +00:00
Graham Knop
f1759f5cd5 fixing lib paths on some tests 2009-04-23 16:22:17 +00:00
Martin Kamerbeek
c851465bd1 More Tax tests 2009-04-23 10:40:01 +00:00
Martin Kamerbeek
fea09cb7bd Fixed Tax.t tests. The file that contains them should be renamed to TaxDriver/Generic.t. Will do so when I add the tests for the other taxing
components.
2009-04-18 07:35:14 +00:00
Colin Kuskie
b184121305 Forward port leaky test fix with cleaning up the cart. 2009-04-02 22:25:07 +00:00
Colin Kuskie
60a3906b05 Add a creation date to the Cart.
Use that date to expire carts older than an interval, via a new workflow.
Config file changes, tests, i18n.
2009-04-02 21:58:45 +00:00
Colin Kuskie
374840382f Shipper is no longer checked by readyForCheckout. Update
test to follow.
2009-04-02 00:04:53 +00:00
Graham Knop
8242fa59fa clean up after doing cart test 2009-03-19 21:59:23 +00:00
Martin Kamerbeek
be145261e0 Adding isVendorInfoComplete method. 2009-03-18 15:27:38 +00:00
Martin Kamerbeek
8da6751407 Added tests for WebGUI::Shop::Cart->readyForCheckout. 2009-03-18 14:52:41 +00:00
Colin Kuskie
499777b808 Add a few multi-user Cart/session/addressBook tests. 2009-03-12 21:17:25 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
4ee2e59f1d Add a test to make sure that update does not erase values that it is not given. 2009-02-19 18:09:32 +00:00
Colin Kuskie
151ebbde09 Also leaking a version tag. 2009-02-03 04:23:22 +00:00
Colin Kuskie
4ac37757ca Fix a leaking test. 2009-02-03 04:09:01 +00:00
Graham Knop
2bc81f7757 fixing tests for Form changes 2009-01-28 16:39:38 +00:00
Colin Kuskie
1b6dd7be63 Forward port the PayDriver bug fixes from 7.5 branch. Labels are always
taken consistently from the JSON blob, and not a mixture of the two.
2009-01-15 00:34:34 +00:00
Colin Kuskie
e05dbf28c8 update AddressBook test for new object property 2008-11-24 02:41:30 +00:00
Graham Knop
d6e00cab05 improved performance of file uploads and changed format of created uploads locations, avoiding case sensitivity problems 2008-11-12 01:17:33 +00:00
Colin Kuskie
4ef07e2647 check MIME type for JSON accessor methods in Tax and Transaction 2008-10-26 04:17:33 +00:00
Colin Kuskie
5104f5f4c8 update Shop/Address test for recent RFE addition 2008-10-22 16:17:32 +00:00
Colin Kuskie
6af9adbf41 Add tests for percentage of price, and fix
a bad comment in the ShipDriver test.
2008-10-14 19:37:39 +00:00