Commit graph

986 commits

Author SHA1 Message Date
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
Chris Nehren
05cf8fa24c Fixed: One can now turn off inheritUrlFromParent, and the code is now more
robust: moved from Asset->update to Asset->fixUrl.
2008-06-20 19:21:30 +00:00
Graham Knop
d3e802b1cf clean up test warnings 2008-06-20 08:57:34 +00:00
Graham Knop
11dfcd6277 fix throws_deeply test exporting 2008-06-20 08:57:29 +00:00
Colin Kuskie
8be5eeb5f6 Prevent the Subscription from showing the redeem code label and URL unless there are codes 2008-06-20 04:41:03 +00:00
Colin Kuskie
359da35e6d remove a bad test from FileCache 2008-06-19 16:00:59 +00:00
Colin Kuskie
1a50aeb1dc add a few tests for Cache/FileCache 2008-06-18 20:06:50 +00:00
Colin Kuskie
e17569c6f7 clean up cleaning up and make the getPaymentGateways test more robust 2008-06-15 21:56:56 +00:00
Colin Kuskie
a8cea440c6 remove debug code from Shop/Ship.t 2008-06-15 05:06:10 +00:00
Colin Kuskie
be29a09114 fixes for deleting ship drivers created during testing 2008-06-15 04:34:48 +00:00
Colin Kuskie
6e9031de4a WebGUI ships with 1 driver, do not delete it 2008-06-15 04:30:50 +00:00
Doug Bell
879668156b fixed: Syndicated Content wobject makes H::T choke 2008-06-13 19:30:19 +00:00
Colin Kuskie
307c1e0e68 document work to be done in POD for the Perl::Critic policy 2008-06-13 05:04:05 +00:00
Graham Knop
713e73bf19 proper dataform test fix 2008-06-13 00:35:16 +00:00
Colin Kuskie
55237e3e82 fix the label test to handle not explicit i18n namespace in new 2008-06-13 00:05:05 +00:00
JT Smith
42ed751694 test reports errors without crashing 2008-06-12 23:47:42 +00:00
Graham Knop
1acca9fa47 fix list form test 2008-06-12 23:42:20 +00:00
Doug Bell
35e5b95fb6 fixed WebGUI::Utility::Gallery tests 2008-06-12 23:34:48 +00:00
JT Smith
40e28848d0 fixed 2008-06-12 23:33:27 +00:00
Graham Knop
520c18b3e2 fixing dataform test 2008-06-12 23:31:00 +00:00
Doug Bell
58417faf8a fix problems with gallery URLs. fixed disk space check. added error messages to photo template 2008-06-12 22:08:10 +00:00
Doug Bell
0e299cc18b fixed photo/view test 2008-06-12 19:37:44 +00:00
Colin Kuskie
227745d975 Fix getCollateral, which used to return direct copies instead of safe copies, and
add a test for that.
addToCart does not adjust inventory, that is handled by the cart.
Invert the sense of quantity in onAdjustQuantity.
2008-06-10 01:48:20 +00:00
Colin Kuskie
1fd425ac96 Convert WebGUI::Shop::Products over to be object oriented.
Update the tests and Content plugin for the Shop.
Add the Products screen to the Shop admin screen.
Add exception handling to www_import.
Add a status message to the manage products screen.
2008-06-09 21:52:59 +00:00
Colin Kuskie
112da861ca add missing collateral from previous commit, add more tests for import 2008-06-07 22:35:55 +00:00
Colin Kuskie
0316b74ecd add tests for upgrading existing products, with bug fixes 2008-06-07 22:16:47 +00:00
Colin Kuskie
090e4c7adf add more export products tests, along with several bug fixes 2008-06-06 23:11:38 +00:00
Colin Kuskie
288fd54b17 tests for exporting, and some bug fixes in exportProducts 2008-06-05 19:57:01 +00:00
Colin Kuskie
994da561a5 web interface for importing and exporting products. Additional tests for the import/export API 2008-06-05 04:10:48 +00:00
Colin Kuskie
9a9e94a0de replace the old, buggy label.t with the new, slow critic_labels.t. Add Perl::Critic and Test::Perl::Critic as optional requirements to sbin/testEnvironment.pl 2008-06-04 20:09:00 +00:00