Commit graph

2504 commits

Author SHA1 Message Date
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
Chris Nehren
29b31b74b9 change some exportPath munging so we're not deleting the default export path
(PoLA)
2008-04-21 01:06:27 +00:00
Chris Nehren
a62990b03c make the tests more friendly to those not running the WRE. 2008-04-21 00:26:28 +00:00
Chris Nehren
9e8ecd20d7 fix for a test to reflect that exportGetUrlAsPath now calls exportCheckPath 2008-04-20 23:14:28 +00:00
JT Smith
5fb4807edc merging commerce branch back into head 2008-04-20 18:08:26 +00:00
Doug Bell
cf4dbc93a3 added WWW::Mech tests for Photo, which do not work because File upload controls require JavaScript 2008-04-18 00:29:17 +00:00
Doug Bell
d2faf8cd23 GalleryFile now sets Album thumbnail if Album doesnt have one 2008-04-18 00:28:26 +00:00
Doug Bell
4ebed16c69 added more vars to GalleryAlbum and GalleryFile. fixed some tests 2008-04-17 22:54:19 +00:00
Colin Kuskie
5b16fcca51 side port new email address test 2008-04-17 21:43:45 +00:00
Colin Kuskie
e656c6773a add another email address for validation check 2008-04-17 21:03:01 +00:00
Doug Bell
7668f68980 add: Calendar can now choose workflow for Events
fix: Event now saves ownerUserId correctly
add: GalleryAlbum now shows link to add a Photo
added a test skeleton for Test::WWW::Mechanize tests
2008-04-16 23:32:12 +00:00
Chris Nehren
684ce5a7ca The export system has been completely rewritten to be less monolithic and
easier to understand. It's also got a fully rewritten test suite (145 and
counting). It uses Path::Class for much of its work, which is now a requirement
for wG.
2008-04-16 22:16:11 +00:00
JT Smith
11e4f6ea7e merging form pollution fix 2008-04-16 21:55:38 +00:00
JT Smith
8500c4d506 Cleaned the pollution from the forms system. 2008-04-16 16:11:10 +00:00
Doug Bell
8ec2c763b4 fix: Events can no longer be edited by anyone who can add events 2008-04-15 18:10:39 +00:00
JT Smith
f6abe4561a perlDreamer is a 500 lb test mandating gorilla 2008-04-14 17:24:49 +00:00
JT Smith
f5ab66c0af add view cart test
add metadata to ems tickets
2008-04-14 16:22:47 +00:00
Colin Kuskie
f555408b95 add POD to PseudoRequest. Also, refactor initializing the cached print values 2008-04-10 23:31:12 +00:00
Graham Knop
d2116bf797 fixing tests for new output method 2008-04-10 22:15:15 +00:00
JT Smith
8dd5a6bd2c a number of bug fixes 2008-04-04 22:42:54 +00:00
Colin Kuskie
d1253c705f Finish database and config translation from Wobject/Product
to Sku/Product.  Now for the code.
2008-04-03 04:05:30 +00:00
Colin Kuskie
c8e1c3c3d3 more work on translating Asset Products to Sku Products 2008-04-03 03:40:56 +00:00