Commit graph

138 commits

Author SHA1 Message Date
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
Colin Kuskie
be29a09114 fixes for deleting ship drivers created during testing 2008-06-15 04:34:48 +00:00
Colin Kuskie
6e9031de4a WebGUI ships with 1 driver, do not delete it 2008-06-15 04:30:50 +00:00
Colin Kuskie
1fd425ac96 Convert WebGUI::Shop::Products over to be object oriented.
Update the tests and Content plugin for the Shop.
Add the Products screen to the Shop admin screen.
Add exception handling to www_import.
Add a status message to the manage products screen.
2008-06-09 21:52:59 +00:00
Colin Kuskie
112da861ca add missing collateral from previous commit, add more tests for import 2008-06-07 22:35:55 +00:00
Colin Kuskie
0316b74ecd add tests for upgrading existing products, with bug fixes 2008-06-07 22:16:47 +00:00
Colin Kuskie
090e4c7adf add more export products tests, along with several bug fixes 2008-06-06 23:11:38 +00:00
Colin Kuskie
288fd54b17 tests for exporting, and some bug fixes in exportProducts 2008-06-05 19:57:01 +00:00
Colin Kuskie
994da561a5 web interface for importing and exporting products. Additional tests for the import/export API 2008-06-05 04:10:48 +00:00
Colin Kuskie
844c39e321 update PayDriver.t with the latest definition and form elements 2008-05-30 07:18:05 +00:00
Colin Kuskie
70f657d042 account for another default paydriver not that itransact has been added 2008-05-30 07:14:39 +00:00
Colin Kuskie
e562a45b10 Fix two bugs with importing product data.
Begin to build code for adding and editing products.
2008-05-27 04:01:41 +00:00
Colin Kuskie
b03b3b340e Remove extra whitespace in the testing files.
Make importProducts check file headers.
Add testing collateral, and tests
2008-05-27 01:12:01 +00:00
Colin Kuskie
b283ebaf81 begin work on importing products 2008-05-27 00:32:25 +00:00
JT Smith
57c85fde5a changed the name of getCartBySession to newBySession
created the CartItemCount and MiniCart macros
added help for MinCart, Cart, Address Book, and Edit Address templates
2008-05-24 23:27:30 +00:00
Colin Kuskie
9c9da302f1 remove colons from END blocks, so they actually act like END blocks 2008-05-09 18:14:14 +00:00
Colin Kuskie
e39ae106fd add templates to the mix. Product macro template scan and update done 2008-05-08 03:20:42 +00:00
Colin Kuskie
4cf45c289c Update all Wobjects, and snippets from using the Product
Macro to using AssetProxy.  The loadProductAsset.pl script is
for testing the conversion.
2008-05-08 01:51:43 +00:00
Colin Kuskie
711d0f5fc1 update defaultValue in the group field of the PayDriver definition 2008-05-07 16:33:27 +00:00
Colin Kuskie
c930c73d67 Fix Hidden, Radio and Checkbox, which wouldn't allow
a value of zero to be set in them.  It was translated to
the empty string.
2008-05-05 22:20:16 +00:00
Colin Kuskie
d7c6507c8b convert feature collateral to JSON 2008-05-05 17:50:26 +00:00
Colin Kuskie
52d29d90e4 convert specification collateral to JSON 2008-05-05 17:06:52 +00:00
Colin Kuskie
e5615e386c convert related over to JSON collateral 2008-05-05 03:13:28 +00:00
Colin Kuskie
2215e55bcb Convert accessory collateral to JSON based accessory collateral.
Add a product with accessory collateral to loadProducts.pl to test the upgrade.
2008-05-04 17:15:02 +00:00
Colin Kuskie
bef82ef65f Handle null productNumbers in the Product variant translation.
Update the product loading script to add more products.
2008-05-01 22:38:14 +00:00
Colin Kuskie
e0ad88a869 Shop/Tax.t was skipping the wrong number of tests for root 2008-04-24 19:39:46 +00:00
Colin Kuskie
473cef2483 update PayDriver to match new module code 2008-04-23 03:39:54 +00:00
Colin Kuskie
20a2bba8a4 Let 0 be a valid tax rate in the tests. 2008-04-23 03:26:44 +00:00