Commit graph

2669 commits

Author SHA1 Message Date
Colin Kuskie
33640e6e05 Fix a storage clean-up. 2010-06-11 09:19:00 -07:00
Graham Knop
cc7f83a623 add documentation for new test modules 2010-06-11 00:41:24 -05:00
Graham Knop
49be76247e mock asset test package 2010-06-10 23:56:40 -05:00
Colin Kuskie
4dc9cbae3e Fix storageId cleanup, had a syntax error in perl 5.10.1 2010-06-10 19:51:55 -07:00
Colin Kuskie
fc3bda3d3b Remove SKIP for use_ok, and fix surveyJSON accessor. 2010-06-10 19:27:49 -07:00
Colin Kuskie
073623b366 change to surveyJSON accessor. => getSurveyJSON. This should probably be completely reworked to use some kind of object delegation. 2010-06-10 19:25:37 -07:00
Colin Kuskie
d439f32270 No Plack, yet... 2010-06-10 19:21:12 -07:00
Colin Kuskie
f3769d6420 Fix the UsersOnline test.
Interesting failure.  Calling new on the assetId caused the template to fail.  I think this is due to priming the cache with
the asset data as an Asset, instead of as a Template.
2010-06-10 19:11:04 -07:00
Graham Knop
6f102973dd use temp config file for testing 2010-06-10 18:58:25 -05:00
Graham Knop
bc5df47fed separate out SMTP testing into its own module 2010-06-10 18:47:54 -05:00
Graham Knop
8c2c2f0a8d fix mistake in WebGUI::Test 2010-06-10 18:47:54 -05:00
Graham Knop
4c18ba3563 convert all test cleanup to addToCleanup 2010-06-10 18:47:54 -05:00
Graham Knop
421b9652cf some WebGUI::Test cleanups 2010-06-10 18:47:53 -05:00
Graham Knop
492259c93a remove useless test END blocks 2010-06-10 18:47:53 -05:00
Colin Kuskie
6ec1881a3d Update this test, since keywords can be returned in any order from the db. 2010-06-10 16:15:41 -07:00
Colin Kuskie
88e71445d7 Update the test for Moose status stickiness. 2010-06-10 15:13:42 -07:00
Colin Kuskie
b96489722b StoryTopic test doesn't due, but has test failures in it. 2010-06-10 13:12:41 -07:00
Colin Kuskie
b74d21102c Temporary config file fix. 2010-06-10 11:01:20 -07:00
Graham Knop
a2cb075d79 fix temp config file for tests 2010-06-10 12:42:24 -05:00
Graham Knop
9b725c6d42 use temp config file for testing 2010-06-10 10:09:54 -05:00
Graham Knop
e10f4d0aec backport WebGUI::Test improvements 2010-06-10 10:09:54 -05:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
0ef509374f allow skipping test cleanup 2010-06-10 10:09:52 -05:00
Graham Knop
b8aac77501 clean up some parts of WebGUI::Test 2010-06-10 10:09:51 -05:00
Graham Knop
7f820d9f35 improvements to WebGUI::Test SQL cleanup 2010-06-10 10:09:51 -05:00
Graham Knop
fe1ac66cca remove useless test END blocks 2010-06-10 10:09:45 -05:00
Colin Kuskie
a9bf59f87d Pull fresh copies of the Topic from the db. 2010-06-10 07:42:10 -07:00
Colin Kuskie
05ce650a1a Update Story test for new accessors. 2010-06-09 19:41:49 -07:00
Colin Kuskie
705f0d49ba Setup keywords as a string, not an array ref. Add tests for that. 2010-06-09 18:58:01 -07:00
Colin Kuskie
0578a55419 Freshen the archive from db to fix all tests. 2010-06-09 18:47:06 -07:00
Colin Kuskie
53721581a1 Fix cleanup of Inbox messages for users. Provide a method for cleaning up Admin's messages. 2010-06-09 17:24:21 -07:00
kimd
fa04d01518 o Allow return from photo edit view to gallery edit view (RFE 11571)
o Reject form submissions without image selected for upload in edit view of Photo asset
2010-06-09 15:28:42 -05:00
Colin Kuskie
29ca0f2168 Remove uncontrolled diagnostics, and done_testing. 2010-06-09 15:27:49 -05:00
Colin Kuskie
7ef9c6e6f2 END block cleanups. 2010-06-09 15:26:54 -05:00
Colin Kuskie
6d2d950f52 Fix the delete expired events workflow (again). Fixes bug #11619 2010-06-09 11:28:00 -07:00
Graham Knop
883b145c44 some WebGUI::Test cleanups 2010-06-09 07:15:38 -05:00
Graham Knop
6b1c3c8890 remove useless test END blocks 2010-06-09 06:57:29 -05:00
Colin Kuskie
908b9724a1 Add Inbox monitoring to WebGUI::Test 2010-06-08 21:56:17 -07:00
Colin Kuskie
83e945142e More END block cleanups. 2010-06-08 19:27:39 -07:00
Graham Knop
02af1c68f9 Merge branch 'WebGUI8' into psgi 2010-06-08 17:59:17 -05:00
Scott Walters
647dc6a13a Correct number of tests. 2010-06-08 17:01:13 -04:00
Colin Kuskie
ec4c31c82c Fix some cleanup code. 2010-06-08 19:08:01 -07:00
Scott Walters
7ef3c7e4be Less diagnostic output and don't manually clear the group membership cache. 2010-06-08 13:52:49 -04:00
Scott Walters
867095d811 A user removed from a group with deleteUsers() will still appear to be in that
group according to Inbox.pm, User::getGroupIdsRecursive() and User::getGroups().
Groups.pm wasn't clearing the cache key "getGroupsForUser" in clearCaches().
Tests and fix.
2010-06-08 13:49:02 -04:00
Colin Kuskie
2c08b4e712 Fix a bug in getLineageSql, where it would return the empty string. This could cause downstream problems. Fixes bug #11616 2010-06-08 09:22:28 -07:00
Colin Kuskie
4eb013ef03 Remove uncontrolled diagnostics, and done_testing. 2010-06-08 08:42:43 -07:00
Colin Kuskie
1770e3945c END block cleanups. 2010-06-08 08:39:43 -07:00
Graham Knop
033fc6c5d3 allow skipping test cleanup 2010-06-07 17:59:58 -05:00
Graham Knop
9c99fa2f92 clean up some parts of WebGUI::Test 2010-06-07 17:50:53 -05:00
Scott Walters
9fb7b23687 Tests reproducing bug #11594, users removed from groups no longer able to see previous messages to that group 2010-06-07 18:15:26 -04:00