Commit graph

1267 commits

Author SHA1 Message Date
Colin Kuskie
afff4c4844 Back port Haarg's excellent fix for the lack
of query checking in the ErrorHandler test.
2008-09-11 23:16:19 +00:00
Colin Kuskie
6c50ed9851 Updating Workflow/Instance.pm tests 2008-09-11 20:04:39 +00:00
Colin Kuskie
27769a9b68 Test a few more corner cases for effective 100% coverage 2008-09-10 23:27:34 +00:00
Colin Kuskie
e7ea7b3e1f do not check each help label multiple times 2008-09-10 22:56:57 +00:00
Colin Kuskie
ef7be2c377 add more tests to bring Workflow coverage up to 94% 2008-09-09 23:39:52 +00:00
Colin Kuskie
4908ff5ff0 add tests for deleting activities from a workflow 2008-09-09 21:29:43 +00:00
Colin Kuskie
3982ac2d71 add default workflow values tests, and promote and demote activity tests 2008-09-09 20:31:59 +00:00
Colin Kuskie
4d9c57659c add a few more random tests, checking guid validity and getList return type 2008-09-09 03:59:39 +00:00
Colin Kuskie
e86b0b7cc7 add more tests for Workflow mode, and validating the activity that was returned 2008-09-08 23:07:47 +00:00
Colin Kuskie
cbc830123a RFE: Add workflow that checks all products to see if they are close
to a user configured level, and email a group to let them know that
they are close to being out of stock.
2008-09-07 23:14:42 +00:00
Colin Kuskie
4dd7dcfe5e Remove single quote from the list of allowable characters.
Remove single quotes from parsed International macros in the template tester.
2008-09-06 21:25:42 +00:00
Colin Kuskie
528c56a499 Fixed a test that should have been failing for a long time.
getLineage != get('lineage')?
2008-09-06 21:06:43 +00:00
Graham Knop
29a419e1eb added: getLineageIterator method to simplify working on large sets of assets 2008-09-05 22:14:04 +00:00
Doug Bell
01cbbf2e60 added page range to paginator variables 2008-09-03 21:56:43 +00:00
Colin Kuskie
481fded7e7 update the RichEditor test 2008-08-28 13:35:10 +00:00
Colin Kuskie
db3bf2fae2 fix random test failures in item test 2008-08-27 02:05:57 +00:00
Frank Dillon
7901eb9642 Added a config setting that allows email to be piped to the log rather than pass through a mailserver that may or may not exist. Added a TODO test block. 2008-08-26 15:56:21 +00:00
Colin Kuskie
84e8d38525 MiniCart macro tests 2008-08-25 22:00:07 +00:00
Colin Kuskie
1489c9331e add a basic test for CartItemCount macro 2008-08-22 23:09:20 +00:00
Colin Kuskie
6d3ec1e478 all Shop/Vendor API methods are tested 2008-08-22 16:54:36 +00:00
Colin Kuskie
5fc629993a when overriding Log::Log4perl for testing, set the is_debug flag to true 2008-08-21 23:45:00 +00:00
Graham Knop
d881a82fc3 fixing tests 2008-08-21 20:44:33 +00:00
Colin Kuskie
fbc6e55141 fix inheritUrlFromParent 2008-08-21 20:27:30 +00:00
Chris Nehren
36eb8db8fc add ability to show metadata values in head blocks. 2008-08-21 18:51:16 +00:00
Colin Kuskie
90c82daaeb fix a bug where getOptions returns all shipping drivers, regardless of their enabled status 2008-08-20 18:03:46 +00:00
Colin Kuskie
3aefdb6ce5 fix syntax errors 2008-08-20 17:27:39 +00:00
Colin Kuskie
4bcf390ce9 Allow certain fields in Ad and AdSpace to be cleared. Add tests
to verify that it works.
2008-08-20 16:40:55 +00:00
Colin Kuskie
268a3ef3f0 increment number of tests in Shop/Cart.t to match actual number of tests 2008-08-20 16:04:10 +00:00
Diona Kidd
5b89003e24 Adding internationalized message for empty cart 2008-08-20 02:08:19 +00:00
Diona Kidd
94b20d8f49 Adding provision for testing hasTerms method 2008-08-20 02:04:55 +00:00
Colin Kuskie
c6e9d322a8 Fix how update and addRevision handle defaults from the definition subroutine
when it returns an array ref.
2008-08-19 22:03:39 +00:00
Graham Knop
edebe7e2b9 revert oops 2008-08-19 20:48:47 +00:00
Doug Bell
57b8cc4bae fixed: loginBox macro can no longer return the user to the logout page, logging them out 2008-08-19 20:39:43 +00:00
Colin Kuskie
b143a8db6a Fix a bug where looking up non-existant files croaks, instead of propagating
the error back up and trapping it.
2008-08-15 22:46:46 +00:00
Colin Kuskie
3c913228d1 add a test to check inheritUrlFromParent when creating an asset, rather than updating it 2008-08-15 17:50:03 +00:00
Colin Kuskie
fe45029a3a all newByUserId tests 2008-08-14 22:56:17 +00:00
Colin Kuskie
538ec8a7f6 more get and update tests. First test for newByUserId 2008-08-14 18:23:46 +00:00
Colin Kuskie
771b4aeb1e get and update tests 2008-08-13 23:47:26 +00:00
Colin Kuskie
75cf3923ad More Vendor POD and tests. new and created are both basically tested. 2008-08-13 18:47:04 +00:00
Colin Kuskie
dfefa8d871 Update POD for Vendor.
Add a basic Vendor test.
2008-08-13 17:10:45 +00:00
Colin Kuskie
4372c2e5e0 Update the Photo view.t test to account for pagination. 2008-08-12 22:22:27 +00:00
Colin Kuskie
cf060371a4 adjust number of tests since one was added 2008-08-09 18:00:47 +00:00
Colin Kuskie
68085e440f Fix the failing test, there were two issues.
1) _create_interleaved_items does not return anything useful.
2) $items, the first arg to the sub, has to be an array ref.
2008-08-08 17:56:23 +00:00
Kaleb Murphy
173c2a12cd Form/* now all use getOriginalValue and getDefaultValue. This resolves the Layout bug where all the check lists could not be unchecked. Tests were updated, but still need a major overhaul. 2008-08-08 14:52:53 +00:00
Graham Knop
f082e2d14e request->body and request->param should be the same in tests 2008-08-07 22:55:35 +00:00
Graham Knop
c84c8b0dc6 skip Perl::Critic tests if unable to load modules 2008-08-07 22:55:17 +00:00
Kaleb Murphy
2cce90f150 Rolled back to 7186 removing CheckList changes 2008-08-07 20:33:07 +00:00
Colin Kuskie
ef56d94eaf Update tests for new profile field handling.
Change how the profileField method works in User.pm
Reindent some User.pm method according to WGBP.
2008-08-07 20:30:56 +00:00
Kaleb Murphy
a300ce8194 Layout can now uncheck all hidden assets. CheckList now has its own getValue which does not call getDefaultValue. 2008-08-07 19:21:12 +00:00
Graham Knop
f4f6d19e96 fixed: user profile defaults can contain arbitrary perl code 2008-08-07 18:44:17 +00:00