Commit graph

179 commits

Author SHA1 Message Date
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
Colin Kuskie
63701071db add another FlatRate calculate test 2008-10-08 23:26:32 +00:00
Colin Kuskie
58d97badcd fix clean-up of Products in FlatRate test 2008-10-08 20:26:50 +00:00
Colin Kuskie
9d45d764b3 better cleanup of products for Shop/Tax test 2008-10-08 20:03:19 +00:00
Colin Kuskie
c0b9bdcc43 Fix a bug with shipping costs as a percentage of weight. Build
a test to test the fix.
2008-10-07 22:43:22 +00:00
Colin Kuskie
6d3ec1e478 all Shop/Vendor API methods are tested 2008-08-22 16:54:36 +00:00
Colin Kuskie
90c82daaeb fix a bug where getOptions returns all shipping drivers, regardless of their enabled status 2008-08-20 18:03:46 +00:00
Colin Kuskie
268a3ef3f0 increment number of tests in Shop/Cart.t to match actual number of tests 2008-08-20 16:04:10 +00:00
Diona Kidd
5b89003e24 Adding internationalized message for empty cart 2008-08-20 02:08:19 +00:00
Colin Kuskie
fe45029a3a all newByUserId tests 2008-08-14 22:56:17 +00:00
Colin Kuskie
538ec8a7f6 more get and update tests. First test for newByUserId 2008-08-14 18:23:46 +00:00
Colin Kuskie
771b4aeb1e get and update tests 2008-08-13 23:47:26 +00:00
Colin Kuskie
75cf3923ad More Vendor POD and tests. new and created are both basically tested. 2008-08-13 18:47:04 +00:00
Colin Kuskie
dfefa8d871 Update POD for Vendor.
Add a basic Vendor test.
2008-08-13 17:10:45 +00:00