Commit graph

1275 commits

Author SHA1 Message Date
Yung Han Khoe
f3b14a227c Added Database link access for SQL Macro 2008-05-27 15:27:52 +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
5640ea4079 Give the different kinds of labels (subroutine i18n vs object i18n) different textual labels
for better diagnostics.
2008-05-20 18:58:13 +00:00
Yung Han Khoe
bc88cb3183 Adding basic UserList tests 2008-05-19 19:51:58 +00:00
Colin Kuskie
affd08990a Convert variants over to the new collateral API.
Convert the upgrade script to the new API.
Fix a few bugs in the collateral API with "empty" collateral Ids
and add tests for it.
2008-05-18 23:44:43 +00:00
Colin Kuskie
d849aacc51 Add tests for handling adding new collateral.
Covert features to new collateral API.
2008-05-18 16:01:13 +00:00
Colin Kuskie
04412f96c4 handle the case when the JSON hash contains only the unique identifier 2008-05-16 05:40:20 +00:00
Colin Kuskie
06a38c61c3 JSON collateral rewrite, first part.
API is rewritten and tested.  Upgrade script builds JSON
for all commerce products with unique identifiers.
TBD: Rework Product asset and test it.
2008-05-16 05:08:58 +00:00
Diona Kidd
5656ee915c Adding test for SyndicatedContent.t that exposes feed bug when passing data to the template engine 2008-05-16 00:53:32 +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
4da1f8314f Convert accessories over to the new Product collateral methods.
Add a method to get the JSON collateral indexed, for easy access to indeces.
Add tests for the new getIndexedCollateralData method.
In the upgrade script, put variants in all versions of the Product.  Begin
work on converting the collateral tables over to JSON.
2008-05-04 16:06:31 +00:00
Colin Kuskie
9d2b810a05 conversion of Product from Wobjects to Skus with variants is done 2008-05-04 04:32:58 +00:00
Colin Kuskie
6ad6cd3e5e move* with tests 2008-05-03 21:25:19 +00:00
Colin Kuskie
9489383cfe deleteCollateral tests, and detab Sku/Product.pm 2008-05-03 19:24:30 +00:00
Colin Kuskie
ef12f5118f more product collateral tests 2008-05-03 19:18:01 +00:00
Colin Kuskie
0000db901e Product variant creation is held off until we can finalize
the variant code.
Began building JSON based variant code, and a test for
verifying how it works.  set, get and delete collateral
are implemented.  Still need to build moveUp and moveDown.
Lots of tests to be written.
2008-05-03 05:41:13 +00:00
JT Smith
01d9af6222 The concept of "realtime" workflow has been eliminated. Instead all workflows are now realtime (synchronous), and roll over to be asynchronous if they cannot complete succesfully and immediately. 2008-05-03 05:38:13 +00:00
JT Smith
44c74c2299 added some database cache tests while testing out a theory, the theory is busted, but at least we have some more tests 2008-05-02 20:03:33 +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
Doug Bell
aae6a32df4 added: Ability to enable / disable archiving per Collaboration System. fixed Mech tests again 2008-04-28 02:07:56 +00:00
Doug Bell
3c6ad74cae fixed the rest of the Test::WWW::Mech tests 2008-04-27 10:07:35 +00:00
Colin Kuskie
0e1c5b35c3 update SelectBox test for new Form api 2008-04-27 03:09:31 +00:00
Doug Bell
98992b8920 - added: Inbox is now pruned after 1 year
- Added about a hundred tests for Collaboration system, Post, and Thread 
permissions
- Cleaned up code tested by the aforementioned tests
- Fixed all Test::WWW::Mechanize tests and updated the skeleton. Should be 
usable now.
2008-04-26 02:23:10 +00:00
Colin Kuskie
3abd3988c7 Update this test for the new API. Note that Captcha, Asset, User, Color
and some other form fields are now profile enabled.
2008-04-25 23:18:55 +00:00
Colin Kuskie
bcdafdc84b Fix the test to work with the new form API.
However, the test fails miserably.  Something happened to the
profileEnabled field of all form fields.  This needs to be fixed
and then Operation/ProfileSettings updated as well.
2008-04-25 22:23:47 +00:00
Colin Kuskie
89829bb4da add more email addresses for testing in Form/Email.t 2008-04-24 23:23:13 +00:00
Colin Kuskie
0bc02e173d update Form/Text.t to work with new form api code 2008-04-24 23:13:34 +00:00
Colin Kuskie
e430a2fe47 update Form/Phone test to work with the update form API 2008-04-24 21:10:37 +00:00
Colin Kuskie
75ea5c87de update Form/GetName test to work with the update form API 2008-04-24 21:06:30 +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
aa7b0b9839 replace BAIL_OUT with a skip. It is okay to nest skips 2008-04-23 22:42:42 +00:00
Colin Kuskie
f04e42ec55 Spectre/Workflow.t needed a JSON update, too 2008-04-23 04:05:38 +00:00
Colin Kuskie
16eaf6d434 Temporary fix for File.t. This test should be rewritten to use
WebGUI::PseudoRequest (I think).
2008-04-23 03:50:52 +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
Colin Kuskie
6fbee7bc3c refactor out configPath storage duplication 2008-04-21 20:16:08 +00:00
Colin Kuskie
b786e4c2ad fix some really bad testing code that was deleting a default shipper 2008-04-21 19:39:00 +00:00
Colin Kuskie
8563e438fe Update tests to match AddressBook.pm behavior 2008-04-21 19:18:30 +00:00
Colin Kuskie
404258f7c6 All test sessions are automatically outfitted with a PseudoRequest object.
Check to see if there is an exportPath defined in the config file, if
not, safely skip all of the tests.
2008-04-21 19:10:19 +00:00