Colin Kuskie
a0afb34813
stub out Shop::AddressBook tests for new and create
2008-03-01 22:04:42 +00:00
Colin Kuskie
5946fd5476
add a input validation check and test for Tax->calculate
2008-03-01 21:22:53 +00:00
Colin Kuskie
9d377193d3
placeholder for calculate in Shop::Tax.pm
2008-03-01 04:54:21 +00:00
Colin Kuskie
06f52bae9a
Fix how logging gets intercepted. It used to be on by default, now it must be turned on.
2008-02-29 22:09:32 +00:00
Graham Knop
8533cf8ae8
fixing test warnings, Storage should always return to the correct directory
2008-02-29 07:00:29 +00:00
Colin Kuskie
aab533623e
Add a field to the InvalidParam exception.
...
Use it in Ship.pm for documenting bad requested classes, and test
its use.
2008-02-29 04:17:23 +00:00
Colin Kuskie
d780700013
Finalize getShippers, along with tests.
2008-02-29 04:03:28 +00:00
Colin Kuskie
1261c96349
add Tests for getShippers, and some code for the method too.
2008-02-29 00:36:39 +00:00
Colin Kuskie
df47d0a07c
Add more POD to Pluggable.
...
Add more POD to FlatRate.pm, for the to be written calculate method.
Build create and new methods for Ship, convert existing code to throw exceptions.
Tests for Ship, that look suspiciously similar to ShipDriver.
2008-02-28 23:22:55 +00:00
Doug Bell
4a65691dcc
add: Calendar List view and associated Help
...
add: Ical Page length
add: WWW::Mech tests for Auth and Redirect
2008-02-28 18:40:06 +00:00
Colin Kuskie
ea500fd1b2
Conver the FlatRate shipping driver to use exceptions.
2008-02-28 17:00:34 +00:00
Colin Kuskie
bc05127105
convert over to use exceptions. A few tests still need to be written, they are written as todo tests
2008-02-28 06:00:13 +00:00
Colin Kuskie
c9661496fe
begin conversion of ShipDriver to use exceptions, in code and in test
2008-02-28 00:24:31 +00:00
Colin Kuskie
a8598bc108
Finish testing all of shop tax's exceptions.
...
Convert a few exceptions to better types in import.
2008-02-27 23:40:08 +00:00
JT Smith
4a73cadf64
created donation asset
2008-02-27 02:44:33 +00:00
Colin Kuskie
f2c0a672f4
Add the shippingDrivers entry to the config file.
...
Have the update script remove the old shipping plugin and add the new shipping driver entry to config files.
Tests for Ship.t. getDrivers and some "new" code for Shop::Ship.
2008-02-26 22:45:06 +00:00
JT Smith
e3be583b20
very close to working
2008-02-26 18:37:53 +00:00
JT Smith
449c3c26e0
tests are getting closer to working
2008-02-26 16:52:21 +00:00
Colin Kuskie
640554ea14
Finish out the FlatRate driver, with tests and i18n.
...
Fix bugs found in ShipDriver by building a driver.
2008-02-25 22:36:10 +00:00
JT Smith
26d708a56b
fixing some bugs
2008-02-25 21:13:11 +00:00
Colin Kuskie
920b36d728
force the overriding of the calculate class
2008-02-25 21:11:44 +00:00
Colin Kuskie
fc060962e8
Interim checkin.
...
FlatRate needs i18n and more tests.
2008-02-25 05:51:43 +00:00
Colin Kuskie
c1e0471d51
Add getEditForm to the ShipDriver, and test it.
2008-02-25 00:06:24 +00:00
Colin Kuskie
95b8244ce0
add the get tests and method
2008-02-23 06:30:55 +00:00
Colin Kuskie
39aa431e2c
Move the delete test after the new test, so that there's an object
...
to pull from the db. Sheesh.
Remove the id generation from inside the private build method
and make sure it returns the built object.
2008-02-23 06:17:39 +00:00
Colin Kuskie
669bb870eb
Start working on the new method, with tests.
...
Refactor out the object building code into a private method to be shared by
new and create.
2008-02-23 00:30:18 +00:00
Colin Kuskie
b174ce51fb
getName, getId, set, create with db storage.
...
Added tests for all those methods.
Check that definition gets a session object or else.
2008-02-22 23:51:13 +00:00
Colin Kuskie
ac28252d53
side porting Windows testing fix
2008-02-22 18:32:56 +00:00
Colin Kuskie
ecfba4699d
forward porting Testing fix
2008-02-22 18:31:05 +00:00
Colin Kuskie
cf5dfda32e
Add more tests for the object instanciated by create. Still
...
needs a db interface, though.
2008-02-22 04:48:21 +00:00
Colin Kuskie
3f4aed78d2
Valiadate inputs to create.
2008-02-22 00:15:44 +00:00
Colin Kuskie
a89c507ed6
definition method for ShipDriver, with tests
2008-02-21 05:19:20 +00:00
JT Smith
2ca95d8586
Made a little progress on the sku tests and base class.
2008-02-21 03:16:59 +00:00
Colin Kuskie
3fa331ac4c
side porting over new Asset get test from HEAD
2008-02-20 16:45:50 +00:00
Colin Kuskie
c920bee629
add an explicit test for the safe copying of Asset properties inside get
2008-02-20 16:40:50 +00:00
Colin Kuskie
02011a7d37
finalize names and update docs to match
2008-02-19 18:33:45 +00:00
Colin Kuskie
995ae35bb0
base work for ShipperDriver module with tests
2008-02-19 04:50:20 +00:00
Colin Kuskie
c613e38995
Input validation tests for importTaxData.
2008-02-18 21:23:43 +00:00
Colin Kuskie
95a327ea62
move the CSV tax table into its own subdirectory
2008-02-18 19:48:42 +00:00
Colin Kuskie
215031bb4e
Renamed the import and export methods to prevent Perl from
...
calling them.
Added code and tests for import method. It needs more testing
for user input validation.
2008-02-18 19:27:45 +00:00
Colin Kuskie
76f3e986b7
Port over missing diagnostic for getPathFrag test.
2008-02-18 18:33:32 +00:00
Colin Kuskie
ed017f6007
Forward port diagnostics and $/ bug fix from 7.4 and Commerce branches.
2008-02-18 18:30:29 +00:00
Colin Kuskie
b4ef882e4c
Fix a bug where $/ ended up being undef globally.
2008-02-18 18:17:12 +00:00
Doug Bell
4b82481594
changed User.t and Group.t to use a less used ip address to make tests pass on my network that uses 192.168.0.0/16\
...
fixed a logic bug in WebGUI/Workflow/Cron
2008-02-18 06:08:16 +00:00
Colin Kuskie
40e4e96a66
check the CSV output made by export
2008-02-17 04:58:51 +00:00
Colin Kuskie
6415b9186f
Added the export method.
...
Basic tests for the export method. Need to check the CSV file
to make sure it's created correctly.
2008-02-16 17:11:10 +00:00
Colin Kuskie
0701adf7e0
Add input validation for the add method, and test it.
...
Now it's time for the import and export methods.
2008-02-16 06:48:00 +00:00
Colin Kuskie
645c21bc3b
Tax: add the delete method, with tests
2008-02-16 05:36:25 +00:00
Colin Kuskie
19591d37d4
Fix a bug in the upgrade script, with a default applied to the wrong column.
...
Built the add method, and tested it, too.
2008-02-15 23:17:52 +00:00
JT Smith
649d34f1a7
started cart tests, realizing need to build sku first
2008-02-15 23:02:59 +00:00