Colin Kuskie
dbca5b31d9
Cleanup more tests that are leaking carts due to address book useId issues.
2010-05-02 00:17:03 -07:00
Colin Kuskie
2ce0ab7f3a
Case sensitive tables in the ExtendCalendarRecurrences test.
2010-04-06 14:52:39 -07:00
Paul Driver
c356a7acc6
DateTime::Event::ICal in Calendar, workflow to extend recurrence
2010-04-05 17:08:11 -07:00
Colin Kuskie
ba91560a96
Fix Notify About Low Stock email to be more user friendly. Fixes bug #11364 .
2010-01-21 11:56:01 -08:00
Colin Kuskie
47276ce4ad
Fix exception handling by the NotifyAboutLowStock workflow activity. Fixes bug #11343 .
2010-01-12 11:07:43 -08:00
Martin Kamerbeek
e88b0ca0d7
Adding VIES recheck workflow and tests.
2009-12-15 22:59:54 +01:00
Colin Kuskie
af20594535
Fix looping construct in NotifyAboutLowStock activity. Fix tests.
2009-12-08 21:24:20 -08:00
Colin Kuskie
c845849da0
Fix bug #11286 : Tell the difference between end of Workflow, and unable to load WorkflowActivity.
...
Tests are added for new methods. The changes to Workflow::Instance->run are peripherally
tested in Workflow Activity tests.
2009-12-07 13:07:46 -08:00
Colin Kuskie
89ea0e7cea
use addToCleanup instead of an END block.
2009-12-07 13:07:11 -08:00
Patrick Donelan
e4b18757d8
Fixes bug in ExpireIncompleteSurveyResponses
...
Use a left outer join on userProfileData so that the workflow processes
responses for users that have been deleted
2009-10-20 16:50:00 +11:00
Colin Kuskie
d088386e2c
Use better cleanup technology.
2009-09-25 19:45:02 -07:00
Colin Kuskie
5144dfa04f
More test cleanups.
2009-09-25 19:35:23 -07: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
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
b57dff3e3e
Fix a bad template variable in SendNewletters workflow activity, bug #10953
2009-09-14 18:58:10 -07:00
Graham Knop
e6f38dcf44
add new API for mocking assets in tests
2009-09-09 12:14:07 -05:00
Graham Knop
9f2db435ba
prevent Workflow from trying to run an activity if it didn't get an object
2009-09-09 01:16:49 -05:00
Graham Knop
f6be0746f3
use consistant messages for WEBGUI_LIVE tests
2009-09-09 01:16:48 -05:00
Colin Kuskie
8fd0be0dc4
Purge tests before cleaning up version tags. Fix a leaky test.
2009-09-04 19:59:26 -07:00
Graham Knop
6f3980a9c9
fixed #10838 : Forwarded forum post email to new CS adds reply to original thread
2009-09-01 22:40:08 +00:00
Colin Kuskie
22d462166f
Move Calendar feeds into the Calendar Asset table as JSON collateral.
...
Update tests and workflows to follow.
2009-08-26 22:14:04 +00:00
Patrick Donelan
146373937d
Fixed two new Survey bugs
...
* Survey response startDate stored twice
startDate was being stored both in a column in Survey_response and also inside the
serialised responseJSON. Consolidated to column and moved startDate methods to
Survey.pm where they are actually used. Was not causing errors because both copies
were initialised to "now" at response creation time, and then never changed (this is also
why we don't need any repair code to fix existing survey repsonses in the wild).
* Survey ExpireIncompleteSurveyResponses Workflow Activity not enabled
The only time you'd actually want to modify startDate is when you're trying to simulate
response expiry in test code, which is why I found the above bug when I was writing the
missing test suite for ExpireIncompleteSurveyResponses. Along with test suite, added
upgrade code to enable workflow activity and add it to the Daily Maintenance Tasks
workflow. Also made minor fixes to the workflow activity, such as making sure it uses
the correct isComplete code.
2009-08-07 01:08:39 +00:00
Colin Kuskie
8dcd511a8b
Update tests for modified code, and for CSRF checks.
2009-07-16 22:35:49 +00:00
Colin Kuskie
c30614bdf6
Forward porting fixes for iCal escaping and unescaping, and line wrapping.
2009-07-01 22:18:57 +00:00
Colin Kuskie
755d7909a5
Fix iCal processing in the Calendar module and workflow. Errors with
...
generation and processing.
2009-06-30 15:43:40 +00:00
Colin Kuskie
5fdb7d8f02
Clean up queued email created when the inbox message is added.
2009-05-20 01:13:50 +00:00
Colin Kuskie
4c1307e3d0
merge to 10219
2009-04-08 16:35:31 +00:00
Colin Kuskie
25acb1acf2
Add a workflow activity for archiving old stories, i18n and tests.
2009-03-25 01:07:28 +00:00
Colin Kuskie
2bd7a60a01
Merge in HEAD, up to 9866.
2009-03-17 23:45:21 +00:00
Colin Kuskie
cdcdd2951f
Clean up after the newly modified DeleteExpiredSession test.
2009-02-21 02:06:22 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Colin Kuskie
8b06f912ca
Rewrite the DeleteExpiredSessions test to not take cheap shortcuts
...
that are not very reliable.
2009-02-20 22:31:03 +00:00
Colin Kuskie
cfc302103c
fix bad regexp for workflowId in logged warning
2008-09-23 18:02:20 +00:00
Colin Kuskie
af6aded2e1
add tests for set and get
2008-09-21 03:49:11 +00:00
Colin Kuskie
8bfce39f21
add some tests for set and stickiness
2008-09-18 23:15:09 +00:00
Colin Kuskie
0c62ee3666
Add more tests, and fix the POD documentation for the new method.
2008-09-13 04:30:32 +00:00
Colin Kuskie
d43d06ea1a
check the logging for duping a singleton
2008-09-12 23:23:52 +00:00
Colin Kuskie
119e5d9645
clean-up, get ready to test set
2008-09-12 23:16:25 +00:00
Colin Kuskie
5689c08bbc
Fix multiple bugs related to Singleton workflows:
...
Can't use undef in a where clause.
Have to use the same JSON encoding in all places.
Added tests for singleton workflow instances.
2008-09-12 22:59:43 +00:00
Colin Kuskie
c56221f6da
fix bad Mock API, new requires a module name
2008-09-12 16:41:48 +00:00
Colin Kuskie
f4c328d555
add spectre mocking and getWorkflow tests
2008-09-11 23:23:27 +00:00
Colin Kuskie
6c50ed9851
Updating Workflow/Instance.pm tests
2008-09-11 20:04:39 +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
9c9da302f1
remove colons from END blocks, so they actually act like END blocks
2008-05-09 18:14:14 +00:00
Colin Kuskie
a69dff3dcf
Adding Knowmad's excellent Instance test script for exposing JSON
...
problems in Workflow::Instance
2008-03-02 22:50:46 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Colin Kuskie
b309d108dc
Clean up all temporary session info in Session/Scratch.t
...
Add a preliminary run of DeleteExpiredSessions to DeleteExpiredSessions.t
to clean up any old, funky sessions which might just be lying around
and interfering with the test.
2008-01-03 18:37:34 +00:00
Colin Kuskie
45eb45fa3e
fix a session bug where, when using noFuss, user session scratch was not cleaned up
2007-11-02 17:50:19 +00:00
Colin Kuskie
980ff3e972
add plan for testing. Fill in with code later
2007-11-02 04:45:10 +00:00
Colin Kuskie
2c232773e4
add a test stub for DeleteExpiredSessions. To be filled in soon :)
2007-11-02 04:31:47 +00:00