Commit graph

1025 commits

Author SHA1 Message Date
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
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
2f72b6352c Remove debugging output. 2008-08-05 03:58:17 +00:00
Kaleb Murphy
e7f5948ce1 Fixed Form Date and DateTime to properly handle mysql and epoch times. Added tests to make sure they work. 2008-08-04 20:23:13 +00:00
Kaleb Murphy
a81999d5ea Date and DateTime tests. 2008-08-04 18:33:28 +00:00
Colin Kuskie
fd62170df6 Change getGroups to always return safe copies of data.
Add tests to check for safe copies.
Add a test for getGroupIdsRecursive.
2008-08-02 22:48:32 +00:00
Colin Kuskie
19987b53b4 Fix Stow to always return safe copies of stowed data.
And test it.
2008-08-02 22:47:15 +00:00
Colin Kuskie
159f2daf60 Add a test for text MIME type. Note that various tests
may fail based on the version of LWP installed.
2008-08-02 17:39:11 +00:00
Colin Kuskie
3f8c483293 Update this test for new content.
Change arguments in cmp_* to references instead of arrays.
Check number of files dynamically, rather than hardcoded.
2008-08-02 17:09:21 +00:00
Colin Kuskie
30e0d913c4 Begin a test for getGroupIdsRecursive 2008-08-01 23:25:35 +00:00
Colin Kuskie
8d561101b5 Add a test to User.t to make sure it isn't leaking groups.
Update POD in User.pm and Group.pm.
2008-08-01 23:06:23 +00:00
Diona Kidd
178c6340a9 Removing unneeded version tag and workflow info 2008-08-01 14:32:50 +00:00
Diona Kidd
7fbb4a826b Passing tests for badges, tickets and ribbons 2008-08-01 14:23:36 +00:00
Diona Kidd
a4759016ab Adding non-mech test 2008-08-01 13:13:11 +00:00
Chris Nehren
63fe276dac Fixed: splitCSV and joinCSV had issues with complex CSV data. They now use
Text::CSV_XS internally.
2008-07-31 22:02:09 +00:00
Colin Kuskie
85e2c32919 update Sku/Product.t test to include isShippingAddress and getConfiguredTitle 2008-07-31 02:56:09 +00:00
Colin Kuskie
de983627cd update Shop/Address.t test for new Address book fields 2008-07-30 15:51:21 +00:00
Colin Kuskie
ae27f61732 adjust plan now that the isa test is corrected 2008-07-29 22:11:11 +00:00
Colin Kuskie
ae51c67dbe fix typo in ad type checking 2008-07-29 22:09:48 +00:00
Diona Kidd
77aec308c1 Adding additional tests for tickets 2008-07-29 20:08:28 +00:00
Diona Kidd
d908d53c84 Adding test for ticket creation 2008-07-29 20:01:27 +00:00
Diona Kidd
fad7ef4361 Refactored to use Test::WWW::Mechanize 2008-07-29 17:36:53 +00:00
Diona Kidd
84e417069e Adding test for EMS. Currently this test fails due to table and column discrepancies 2008-07-28 23:39:15 +00:00
Colin Kuskie
9942f9e70d remove debug code from the Perl::Critic label scanner 2008-07-28 03:23:20 +00:00
Colin Kuskie
6561a9d200 Add a lot more tests for forceSecureConnection 2008-07-26 02:08:37 +00:00
Colin Kuskie
70fd60698c convert Session/Url.t to use Test::MockObject::Extends for ENV work 2008-07-25 18:44:24 +00:00
Colin Kuskie
788ec55e8c convert Session/Env.t to use Test::MockObject::Extends 2008-07-25 18:24:08 +00:00
Colin Kuskie
344410b0c9 one test for forceSecureConnections 2008-07-25 18:15:08 +00:00
Graham Knop
87284a08e6 fix test for current debug messages 2008-07-25 06:49:06 +00:00
Colin Kuskie
33bcab206e remove TODO item for calculated keys 2008-07-23 17:03:52 +00:00
Colin Kuskie
8558e5a86f Handle the case when the i18n key is calculated, rather than
being a string.
2008-07-23 17:02:54 +00:00
Colin Kuskie
29445ee1df move Shop/Products tests into Asset/Wobject/Shelf 2008-07-23 15:45:15 +00:00
Colin Kuskie
4a1e8dab24 Update this test to keep up to date with Transaction.pm 2008-07-23 04:20:25 +00:00
Colin Kuskie
8779905ac3 Add a method for Payment Drivers to see if they can used by a particular user, canUse.
Add some tests for the method.
Have Pay->getOptions use the method.
2008-07-21 16:14:52 +00:00
Colin Kuskie
a3274f47ec do not delete the default payment gateways! 2008-07-21 16:06:48 +00:00
Colin Kuskie
31659b00a4 Clean up the Storage object created during this test. 2008-07-18 17:51:17 +00:00
Kaleb Murphy
a143368f4f Tax.t needed to test for default direction of asc, not desc. Fixed. 2008-07-18 17:50:40 +00:00
Colin Kuskie
5e97a877d5 Make the WEBGUI_CONFIG environment variable warning messages more instructive. 2008-07-18 17:28:41 +00:00
Colin Kuskie
4392442655 add another fixTitle test for title only with HTML 2008-07-16 00:42:00 +00:00
Colin Kuskie
486edcb4d1 comment the GalleryAlbum view tests, and fix a test that was failing due to a bug fix 2008-07-13 18:32:04 +00:00
Colin Kuskie
c4af4b4f26 remove getProductImportNode test from Asset.t 2008-07-13 18:21:58 +00:00
Colin Kuskie
8ee7f09130 Make Shop/Products.t fail gracefully 2008-07-13 02:21:02 +00:00
Colin Kuskie
81bdc7640c Fix a typo in the PageUrl POD.
Add tests for the new query argument to the PageUrl macro.
2008-07-13 02:03:21 +00:00