Commit graph

165 commits

Author SHA1 Message Date
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
Colin Kuskie
b47318c786 tweak the {Ship,Pay}Driver tests a bit, looking for safe copies of data 2008-08-06 04:10:12 +00:00
Colin Kuskie
de983627cd update Shop/Address.t test for new Address book fields 2008-07-30 15:51:21 +00:00
Colin Kuskie
29445ee1df move Shop/Products tests into Asset/Wobject/Shelf 2008-07-23 15:45:15 +00:00
Colin Kuskie
4a1e8dab24 Update this test to keep up to date with Transaction.pm 2008-07-23 04:20:25 +00:00
Colin Kuskie
8779905ac3 Add a method for Payment Drivers to see if they can used by a particular user, canUse.
Add some tests for the method.
Have Pay->getOptions use the method.
2008-07-21 16:14:52 +00:00
Colin Kuskie
a3274f47ec do not delete the default payment gateways! 2008-07-21 16:06:48 +00:00
Colin Kuskie
31659b00a4 Clean up the Storage object created during this test. 2008-07-18 17:51:17 +00:00
Kaleb Murphy
a143368f4f Tax.t needed to test for default direction of asc, not desc. Fixed. 2008-07-18 17:50:40 +00:00
Colin Kuskie
8ee7f09130 Make Shop/Products.t fail gracefully 2008-07-13 02:21:02 +00:00
Colin Kuskie
052d9d67eb Update the test to match the new i18n label.
Remove the trailing period from the ITransact i18n label.
2008-07-12 16:28:40 +00:00
Colin Kuskie
145329f0aa Update the test to match the template changes in PayDriver's definition sub. 2008-06-25 16:09:04 +00:00
Colin Kuskie
8be5eeb5f6 Prevent the Subscription from showing the redeem code label and URL unless there are codes 2008-06-20 04:41:03 +00:00
Colin Kuskie
e17569c6f7 clean up cleaning up and make the getPaymentGateways test more robust 2008-06-15 21:56:56 +00:00
Colin Kuskie
a8cea440c6 remove debug code from Shop/Ship.t 2008-06-15 05:06:10 +00:00