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
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
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
b4ef882e4c
Fix a bug where $/ ended up being undef globally.
2008-02-18 18:17:12 +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
Colin Kuskie
70b8331794
Add the tax table.
...
Add the getItems method, for accessing the entire tax table.
2008-02-15 22:15:58 +00:00
JT Smith
f4530c02de
base cart tests
2008-02-15 19:27:16 +00:00
Colin Kuskie
cf3ed73830
Fix a bad use test in Shop/Tax.t
...
Begin Tax.pm, using Class::InsideOut with a basic constructor and a session method.
2008-02-15 18:51:02 +00:00
Colin Kuskie
a476909952
add Tax tests for new and session method
2008-02-15 18:30:31 +00:00
Colin Kuskie
39f1a3da3c
forward port slash handling fix from 7.4 branch
2008-02-14 23:51:17 +00:00
Colin Kuskie
425d81d3fb
temporary fix for this until we get cookies hacked into the test suite
2008-02-10 04:08:54 +00:00
Doug Bell
1f10f07338
add: Auth modules now accept a "returnUrl" form parameter when logging in or creating a new account. User will be redirected to the value in "returnUrl" after login / create account is complete.
...
add: L_LoginBox macro has a form.returnUrl template var that returns a user to the exact page they logged in from
2008-02-09 05:09:33 +00:00
Colin Kuskie
04da356822
take more advantage of getTestCollateralPath file concat
2008-02-09 04:44:15 +00:00
Colin Kuskie
92813f394d
remove diag and take advantage of getTestCollateralPath file concat
2008-02-09 04:41:16 +00:00
Colin Kuskie
b4483947cf
take advantage of getTestCollateralPath concatenating files to the path for you
2008-02-09 04:25:07 +00:00
Colin Kuskie
227be31be5
By default, every Session created by WebGUI::Test will have
...
a PseudoRequest object, instead of being blank. Update
Storage.t to test this.
2008-02-09 04:22:39 +00:00
Doug Bell
fb4d77e958
fix: possibly fixed.
2008-02-08 01:21:20 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Doug Bell
e5ca1aa00d
fix: missed a skip
2008-02-05 23:52:01 +00:00
Colin Kuskie
3ff2dca9b5
Fix the POD for the file method.
2008-02-05 23:44:37 +00:00
Colin Kuskie
9a8c3f2ddd
forward port AdSpace tests from branch 7.4
2008-02-05 20:48:28 +00:00
Doug Bell
53ac4be8d1
Added a simple smtpd for testing
...
MERGE: Added ability for WebGUI::Test->getPage to work on Operations
MERGE: Fix for AdSpace and tests for Operation::AdSpace
Fixed Poll's use of JSON
Added tests for emailOverride
2008-02-05 19:34:09 +00:00
Colin Kuskie
b27d14f2e5
forward porting editBranch ownerUserId fixes into HEAD
2008-02-05 16:36:45 +00:00
Colin Kuskie
ebfc711f65
finish rough POD docs for WebGUI::PseudoRequest
2008-02-02 00:16:42 +00:00
Colin Kuskie
23f86d775e
add POD to PseudoRequest. Needs more
2008-02-01 00:21:24 +00:00
Colin Kuskie
ab476b36e5
POD for WebGUI::Test
2008-01-31 21:04:57 +00:00
Doug Bell
ec3bc19d77
Added i18n for Gallery (Search) template
...
Fix: Album description showing up in Photos when photo has no synopsis
fix: Photo now shows correct confirmation screen
fix: Photo now gets auto-committed according to Gallery approval workflow
fix: Formatting problems in Album view
fix: Photo and Album assets now retain their Owner after other users edit them.
fix: Gallery::Utility migration now retains createdBy, creationDate, and ownerUserId.
Testing Gallery::Utility a bit more thoroughly.
fix: Photo EXIF data now gets cached correctly and sanitized for references (since JSON won't store them and they're of no use to us anyway).
2008-01-25 22:34:37 +00:00
Doug Bell
054534564b
fixed tests for newByDynamicClass and added a couple more for it
2008-01-25 17:47:03 +00:00
Doug Bell
338c494d47
fix: Mails sent from WebGUI now wrap at 78 characters to prevent a problem with SMTP servers that do not accept lines longer than 998 characters. This is per the SMTP RFCs. Added testing for this fix, still much to test for WebGUI::Mail::Send. Added API method to facilitate testing.
2008-01-12 07:46:32 +00:00
Colin Kuskie
1a6fde9d3f
Rework the PassiveProfiling test to use newly created macros.
...
Add coverage for addPage in the tests.
2008-01-09 23:29:41 +00:00
Colin Kuskie
36b622622e
resolved bug/question about assetAddPrivilege and Turn On Admin group. Fixing test
2008-01-09 17:25:16 +00:00
Doug Bell
6fcfa3f80d
fixes for Gallery and Gallery Utility
2008-01-09 04:23:52 +00:00