Commit graph

25 commits

Author SHA1 Message Date
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07:00
Graham Knop
492259c93a remove useless test END blocks 2010-06-10 18:47:53 -05:00
Colin Kuskie
b728eabd7b Add cleanup for Shop::Vendors. More end block removal. 2010-06-07 18:45:59 -07:00
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Colin Kuskie
8dcd511a8b Update tests for modified code, and for CSRF checks. 2009-07-16 22:35:49 +00:00
Colin Kuskie
a85924d07b Add group privilege checking to the Shipping Drivers 2009-06-18 23:24:33 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
6af9adbf41 Add tests for percentage of price, and fix
a bad comment in the ShipDriver test.
2008-10-14 19:37:39 +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
be29a09114 fixes for deleting ship drivers created during testing 2008-06-15 04:34:48 +00:00
JT Smith
819552ce06 finally got shipping driver management working 2008-03-12 23:18:04 +00:00
Colin Kuskie
7990e0cc38 Fix failing Shop/ShipDriver.t tests. If the definition sub, fields was
changed to properties, and getName is now a class method that requires
a session variable.
2008-03-09 04:33:24 +00:00
Colin Kuskie
d27ac7a629 Add coverage tests, convert croaks to exceptions. 2008-03-05 23:34:53 +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
920b36d728 force the overriding of the calculate class 2008-02-25 21:11:44 +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
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
Colin Kuskie
02011a7d37 finalize names and update docs to match 2008-02-19 18:33:45 +00:00
Renamed from t/Shop/ShipperDriver.t (Browse further)