Commit graph

2319 commits

Author SHA1 Message Date
Colin Kuskie
5876dec8de Clean up Sessions that are built for testing. 2009-09-25 17:54:07 -07:00
Colin Kuskie
ec6887b0ac Make thingy respect thing permissions when generating form field for other things. Fixes bug #11032 2009-09-25 16:58:26 -07:00
JT Smith
af705232a8 added exceptions, docs, and removed disableCache 2009-09-25 18:41:03 -05:00
Graham Knop
9b74ab24cf remove attempted apache hack in tests 2009-09-25 11:33:20 -05:00
Patrick Donelan
549f9ce650 Fix bugs in ExpireIncompleteSurveyResponses Workflow
Need to join on revisionDate otherwise one email per Survey revision
will be sent. (Added explicit test for this)

Some standard template vars were also missing - username and userId.

(forward-port from webgui-7.7)
2009-09-25 14:13:15 +10:00
JT Smith
66db563c39 basics all tested 2009-09-24 23:12:20 -05:00
JT Smith
65239eee4d mget not working, but it's better than it was 2009-09-24 22:31:19 -05:00
Colin Kuskie
79f84aec68 Restore original Darwin buffer hack. 2009-09-24 19:57:42 -07:00
Colin Kuskie
4b974d644b Restore original Darwin buffer hack. 2009-09-24 19:49:30 -07:00
JT Smith
c6d6882f4a starting on a test kid for the new cache library 2009-09-24 21:34:34 -05:00
Graham Knop
81336e3ee6 only report test debug counts if there was a leak 2009-09-24 18:55:23 -05:00
Graham Knop
b6c1837756 fix and clean up export test 2009-09-24 18:55:23 -05:00
Colin Kuskie
7d60f7523e Events in the calendar, with and without starting times, behave similarly. Fixes bug #11033 2009-09-24 16:00:54 -07:00
Colin Kuskie
e61140af5b Duplicate sessions before cleaning them up to handle fatal'ed sessions. 2009-09-24 13:57:00 -07:00
Colin Kuskie
cef20f0165 Clean-up a session created for a test. 2009-09-24 13:35:28 -07:00
Colin Kuskie
8374a88046 More test tweaks for zipcode. 2009-09-24 09:34:25 -07:00
Colin Kuskie
6a3d1588be Uppercase any lowercase zipcode letters entered. Fixes 11018. 2009-09-24 09:32:14 -07:00
Graham Knop
532f8ece6b set library path before loading WebGUI modules in WebGUI::Test 2009-09-24 07:52:18 -05:00
Colin Kuskie
77fc01af38 Do not set a redirect when streaming downloads. fixes file #11029 2009-09-23 21:27:43 -07:00
Colin Kuskie
564378bba8 Do not log empty statuses in the InOutBoard. 2009-09-23 16:34:24 -07:00
Colin Kuskie
1ccb468914 Add a method to unmock the logger. 2009-09-23 15:56:59 -07:00
Colin Kuskie
8276336cbe Templates in the trash or clipboard now log and return warnings. fixes bug #11031 2009-09-23 15:40:35 -07:00
Colin Kuskie
e4b99f1d6c Clear cache on assets in trash and clipboard limbo states. fixes bug #11027 2009-09-23 15:39:56 -07:00
Colin Kuskie
9a52044462 Add another edge case for nested macros. 2009-09-23 15:39:24 -07:00
Graham Knop
bb77bc484e fix warnings in IOB test 2009-09-23 17:10:00 -05:00
Graham Knop
328f3dfcec test cleanups 2009-09-23 16:48:04 -05:00
Colin Kuskie
65f1377081 Add tests for InOutBoard. documents bug#11024.
Also, add a purge method to clean-up the collateral tables for this asset.
2009-09-23 09:55:25 -07:00
Graham Knop
67b729fee0 use note instead of diag in tests for non-error debug output 2009-09-23 08:29:05 -05:00
Colin Kuskie
a3228ebcb5 Adjust test to work more than 1 time. 2009-09-22 18:18:08 -07:00
Colin Kuskie
9d438f7266 Fix bad URLs from happening when inheritUrlFromParent is used. Fixes bug #11011 2009-09-22 11:45:06 -07:00
Colin Kuskie
43f6dced9b Fix a bad plan in the AddressBook test. 2009-09-22 09:19:12 -07:00
Colin Kuskie
3acaea22e8 Remove bad test requirement. 2009-09-21 22:18:03 -07:00
Colin Kuskie
50d3f48936 Extend existing non-recurring Subscriptions when rebought. Fixes bug #11010 2009-09-21 22:17:21 -07:00
Colin Kuskie
323edd888e More tests for bug fix #11009.
Abstract out making a session in WebGUI::Test.  Update POD
in Shop/Address.  Add tests for newBySession, showing that
the previous commit that allows update to update addressBookId
actually fixed the bug in question.
2009-09-21 19:44:43 -07:00
Colin Kuskie
f2e8d6a70b Allow addressBookId to be updated in an Address.
This is required for Address Book merging to work correctly in
Shop::AddressBook->newBySession.
2009-09-21 17:27:25 -07:00
Colin Kuskie
27f474ec64 Do not cleanup Admin's friends group. 2009-09-21 08:27:36 -07:00
Colin Kuskie
683752354d File::Temp::tempdir does not exist. 2009-09-20 22:16:56 -07:00
Graham Knop
eebece7a2a check WEBGUI_LIVE in some more live tests 2009-09-20 23:49:33 -05:00
Graham Knop
4b835ba0ff fix compile test for when WebGUI libs not in PERL5LIB 2009-09-20 22:00:12 -05:00
Graham Knop
5c7c8a1c07 fix FilePump tests on case sensitive file systems 2009-09-20 14:39:36 -05:00
Graham Knop
44110cdb00 fix WikiPage test cleanup 2009-09-20 14:29:54 -05:00
Graham Knop
45603a026f fix Storage tests for limited permissions 2009-09-20 14:18:03 -05:00
Colin Kuskie
56f68bf291 Make subscribable asset handle its built-in group correctly. Fixes bug#11004 2009-09-18 09:25:30 -07:00
Colin Kuskie
255abcdf97 Set correct defaults for icalFeeds in existant calendars. Fixes bug #11005 2009-09-17 15:36:58 -07:00
Colin Kuskie
b09a153688 Give Pig Latin a valid locale. 2009-09-17 10:49:50 -07:00
Colin Kuskie
8395d090fa Show thingy controls when maxEntriesPerUser is reached. Fixes bug #10950. 2009-09-16 21:58:24 -07:00
Colin Kuskie
f4d19c41f7 DataForms logs an error when it cannot load the requested form type. Fixes bug #10954. 2009-09-16 19:24:28 -07:00
Graham Knop
3049435e28 large revisions to syntax checker to be faster and more useful
It now only fails for compile warnings in WebGUI files, not prereqs.
The compile checks on the upgrades and utility scripts run much faster,
resulting in the entire test taking about 10% of the time it previously
did.  It will also BAIL_OUT for any compile errors, preventing any other
tests from being run.
2009-09-16 21:07:47 -05:00
Graham Knop
ab04037859 more tests for buildHashRef 2009-09-16 19:24:46 -05:00
Graham Knop
464d0c2850 correct test quantity for USPS ship driver 2009-09-16 19:11:23 -05:00