Commit graph

267 commits

Author SHA1 Message Date
Colin Kuskie
934a93a2a8 Fix bugs from the Transaction.pm Moose work. 2010-07-14 15:47:21 -07:00
Colin Kuskie
04a16ed87c Move Shop/Transaction to Moose. Change core modules to suit. 2010-07-14 14:50:39 -07:00
Colin Kuskie
73da9e343d Convert Address to Moose. 2010-07-09 13:49:37 -07:00
Colin Kuskie
6d0309249f Convert AddressBook to Moose. 2010-07-08 10:36:22 -07:00
Colin Kuskie
a1f1bf450a Move Cart to Moose.
Remove the global AddressBook cache, replace it with a per-object cache.  Merge create into
new, but leave a create stub for legacy code.
2010-07-07 15:30:47 -07:00
Colin Kuskie
416f62f36a Fix problems with Moose style object creation. 2010-07-07 12:31:37 -07:00
Colin Kuskie
e5a2af0330 Add test for new with properties. 2010-07-07 12:25:21 -07:00
Colin Kuskie
c159067c36 Remove Class::InsideOut from Shop/Vendor.t Update migration notes, tests and POD. 2010-07-02 15:16:43 -07:00
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07:00
Colin Kuskie
5febc0ebbc Merge commit '41575d24bb' into webgui8. Some tests still failing.
Conflicts:
	docs/gotcha.txt
	lib/WebGUI.pm
	lib/WebGUI/Asset.pm
	lib/WebGUI/Asset/File/GalleryFile/Photo.pm
	lib/WebGUI/Asset/Post.pm
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Asset/WikiPage.pm
	lib/WebGUI/Asset/Wobject/WikiMaster.pm
	lib/WebGUI/Cache.pm
	lib/WebGUI/Content/Setup.pm
	lib/WebGUI/Role/Asset/Subscribable.pm
	lib/WebGUI/Shop/Cart.pm
	lib/WebGUI/Shop/Pay.pm
	lib/WebGUI/Shop/PayDriver/ITransact.pm
	sbin/testEnvironment.pl
	t/Asset/WikiPage.t
	t/Shop/PayDriver.t
	t/Shop/PayDriver/ITransact.t
	t/Shop/PayDriver/Ogone.t
	t/Shop/TaxDriver/EU.t
	t/Shop/TaxDriver/Generic.t
	t/Workflow/Activity/RemoveOldCarts.t
	t/lib/WebGUI/Test.pm
2010-06-25 23:25:26 -07:00
Colin Kuskie
6ac0aa936c Update Shop::Ship to use Moose instead of C::IO. Update tests, and core code. Provide a shim for the old syntax. 2010-06-24 13:41:07 -07:00
Colin Kuskie
9678c3d8a7 Convert Shop::Pay to use Moose instead of Class::InsideOut. Update tests, and core usages to Moose syntax. Provide a shim so the old, base ->new($session) syntax. 2010-06-24 13:31:32 -07:00
Graham Knop
30657d61f7 lots of test fixes 2010-06-13 06:19:41 -05:00
Graham Knop
49be76247e mock asset test package 2010-06-10 23:56:40 -05:00
Graham Knop
4c18ba3563 convert all test cleanup to addToCleanup 2010-06-10 18:47:54 -05:00
Graham Knop
492259c93a remove useless test END blocks 2010-06-10 18:47:53 -05:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
fe1ac66cca remove useless test END blocks 2010-06-10 10:09:45 -05:00
Colin Kuskie
53721581a1 Fix cleanup of Inbox messages for users. Provide a method for cleaning up Admin's messages. 2010-06-09 17:24:21 -07:00
Colin Kuskie
8a62abc3ef Add cleanup for AdSpaces, END block cleanup. 2010-06-07 18:53:39 -07:00
Colin Kuskie
b728eabd7b Add cleanup for Shop::Vendors. More end block removal. 2010-06-07 18:45:59 -07:00
Colin Kuskie
41b7413d01 More END block work. 2010-06-07 18:30:41 -07:00
Colin Kuskie
3ccf71ae0b Better test cleanups. Hopefully, this fixes the RemoveOldCarts activity. 2010-06-03 16:12:14 -07:00
Colin Kuskie
9a1c5c9c03 Cart cleanup from leaky PayDriver test. 2010-06-03 15:40:07 -07:00
Colin Kuskie
d3d0e03368 Remove some unneeded declared variables. 2010-05-23 16:35:10 -07:00
Colin Kuskie
a95ebdf5de Fix these tests. They no longer die. 2010-05-23 15:54:03 -07:00
Colin Kuskie
9a2b3bfd19 Update another test. 2010-05-23 15:39:42 -07:00
Colin Kuskie
51827b9c27 Fix the UPS test. 2010-05-23 15:36:38 -07:00
Colin Kuskie
59f8c0cea0 Test cleanups. Drop use_ok, change order of cleanup. 2010-05-22 22:48:42 -07:00
Colin Kuskie
8bbf758f53 Update FlatRate test. 2010-05-09 16:13:28 -07:00
Colin Kuskie
c471cd145b Fix a test I broke. 2010-05-09 14:59:30 -07:00
Colin Kuskie
29d0d72999 Fix a syntax error I introduced into the Ogone test. 2010-05-02 00:50:35 -07:00
Colin Kuskie
dbca5b31d9 Cleanup more tests that are leaking carts due to address book useId issues. 2010-05-02 00:17:03 -07:00
Colin Kuskie
02c4c5cf47 Cleanup tests that were leaking carts. 2010-05-01 23:54:34 -07:00
Colin Kuskie
69a2710eff Update the EU tax test for new Cart code. 2010-05-01 22:56:36 -07:00
Colin Kuskie
67f584d985 Update this test for new Shop 1.5 code. 2010-04-29 23:03:34 -07:00
Colin Kuskie
440981827e Update Ogone test for new payment driver code. 2010-04-29 22:51:55 -07:00
Colin Kuskie
1f774a8074 Update for new cart and transaction code. 2010-04-29 22:47:55 -07:00
Colin Kuskie
e2c70ddef1 Update Cart test for new Cart 1.5 code 2010-04-29 22:38:51 -07:00
Colin Kuskie
d29a4c68aa Update test for code changes in Shop 1.5 2010-04-29 22:27:22 -07:00
Colin Kuskie
5ad1605185 Update address tests for new code. 2010-04-29 22:25:31 -07:00
Colin Kuskie
b537bfae6b Adapt AddressBook tests for new AddressBook code. 2010-04-29 22:24:12 -07:00
Graham Knop
a141de0ebf removing first parameter from WebGUI::Session->open and other cleanups 2010-04-15 18:49:26 -05:00
Martin Kamerbeek
02f4211f12 Typo caused EU TaxDriver to not charge taxes for shipping addresses in France. 2010-01-28 10:39:40 +01:00
Martin Kamerbeek
2e5250afe1 Refactored EU tax plugin code to reduce code duplication and added tests. 2009-12-18 13:45:50 +01:00
Martin Kamerbeek
e88b0ca0d7 Adding VIES recheck workflow and tests. 2009-12-15 22:59:54 +01:00
Colin Kuskie
cc0cc0ba64 Have the USPS shipping driver accept ZIP+4, even if USPS doesn't. 2009-11-28 19:23:35 -08:00
Colin Kuskie
fa7e1062c9 Add a test to make sure line item address changes are processed correctly in the USPS domestic driver. 2009-11-17 19:22:51 -08:00
Colin Kuskie
f3e699e9a7 Retrofit UPS to use Locales instead of Locales::Country. Fixes bug #11221
Updated tests, module, gotcha.txt, and testEnvironment.pl
2009-11-17 09:37:05 -08:00
Colin Kuskie
d14fcd963c Fix test plan for SKIPS. 2009-11-15 20:36:30 -08:00