Commit graph

1815 commits

Author SHA1 Message Date
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
Colin Kuskie
0955679ea1 Remove the getImportProductNode tests since it doesn't exist anymore. 2008-07-12 22:00:49 +00:00
Colin Kuskie
052d9d67eb Update the test to match the new i18n label.
Remove the trailing period from the ITransact i18n label.
2008-07-12 16:28:40 +00:00
Colin Kuskie
9e4394808f Fix more JSON errors in WebGUI.conf.original
Add a test to make sure that it is valid JSON.
2008-07-12 04:26:23 +00:00
Colin Kuskie
d9bada9a81 Add some more comments to i18n/template.t and remove unused regexps.
Lookup the name of the International macro is the specified config file.
2008-07-09 01:07:01 +00:00
Colin Kuskie
91317dfdd7 Fix potential JSON/UTF8 encoding issues in Asset/Sku/Product.pm 2008-07-08 21:23:45 +00:00
Colin Kuskie
f60cd4a579 Add a test that scans templates for International macros
and makes sure that their namespaces and labels resolve.
2008-07-07 15:01:21 +00:00
JT Smith
aa9f0e8396 Replaced CLI gallery import system with a better one. 2008-06-29 02:01:40 +00:00
Graham Knop
ea3f9291fc silence another blessed warning 2008-06-26 20:51:19 +00:00
Colin Kuskie
145329f0aa Update the test to match the template changes in PayDriver's definition sub. 2008-06-25 16:09:04 +00:00
Colin Kuskie
14724cbbef Add tests to check how getThumbnailUrl is supposed to work in the Product.
Then fix the bugs I added to it yesterday.
2008-06-20 22:05:47 +00:00