Commit graph

14148 commits

Author SHA1 Message Date
Colin Kuskie
bb78682fb1 Update this test for the method name change, surveyJSON -> getSurveyJSON 2010-06-11 12:16:37 -07:00
Colin Kuskie
91d94ab8f7 Update this test for the changes to the Survey. 2010-06-11 12:15:16 -07:00
Colin Kuskie
c373341ae5 do is for database handles, write is for WebGUI::SQL. 2010-06-11 11:53:23 -07:00
Colin Kuskie
9b071c1510 Update the JSON collateral test. Duplicate JSONCollateral into a Role so it can be used with Assets. 2010-06-11 11:51:38 -07:00
Colin Kuskie
b8fc033bd7 Update the icalFeeds field to use JSON fields correctly. 2010-06-11 11:50:32 -07:00
Colin Kuskie
4b730ac13d Use the right fieldtype for JSON fields in the db. 2010-06-11 11:49:37 -07:00
Colin Kuskie
509b833d08 quickArray returns 1 row, buildArray returns all rows 2010-06-11 10:21:40 -07:00
Colin Kuskie
4a8b88d77d Ubuntu does not install Package::Stash with other dependencies. Added it to testEnvironment.pl 2010-06-11 09:19:11 -07:00
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
Graham Knop
dfa1a3d7cb temporary config file fix 2010-06-10 23:52:11 -05:00
Graham Knop
24c8e0db7e reset groups for asset classes listed in database instead of in config file 2010-06-10 23:52:10 -05:00
Graham Knop
870d3e591c add require for needed module 2010-06-10 23:52:10 -05:00
Graham Knop
b1b1a3cc62 force scalar context in some needed places 2010-06-10 23:52:10 -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
ef32e856bf Exception handling for the Template in UsersOnline macro. 2010-06-10 19:11:04 -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
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
Graham Knop
950d7517d6 add IO::Socket::SSL as prereq for LDAPS 2010-06-07 19:00:41 -05:00
Graham Knop
1e2b6fd0c2 allow undefined template or snippet text 2010-06-07 18:09:18 -05:00
Graham Knop
5cb384ec73 ensure JSON is loaded 2010-06-07 18:00:04 -05: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
Colin Kuskie
963591d5e1 Fix a bad around wrapper in the RssFeed assetExportHtml sub. 2010-06-07 15:49:07 -07:00
Colin Kuskie
be259d803c Fix problems with assetExportHtml. The method needs to be rethought, and make check that one exists before calling it via can/DOES. Fix a problem with duplicating the session, since duplicate is not a class method. 2010-06-05 22:25:18 -07:00
Colin Kuskie
910a0a09dd Upgrade this test for Definition. Something bad is still happening in export. 2010-06-04 13:48:04 -07:00
Colin Kuskie
0a9785e258 Fix a simple typo in the script. 2010-06-04 13:34:11 -07:00
Colin Kuskie
13e59e788c EMS does not return session as a template variable any longer. 2010-06-04 13:31:52 -07:00
Colin Kuskie
dd716fa796 Fix the default URL for an Asset. It should be based on the parent, if available, and the menutitle. 2010-06-04 13:27:40 -07:00
Colin Kuskie
193223c678 Adding Settable flag for non-properties that should be handled by set/write. 2010-06-04 13:19:03 -07:00
Colin Kuskie
8c759ed7bc Implement keywords differently (successfully) in the Asset class. Extra tests to verify it in Asset.t 2010-06-04 11:33:06 -07:00
Colin Kuskie
4eca8bb993 Commit the initial Survey for the test. 2010-06-04 10:17:52 -07:00
Scott Walters
7933e12ab5 get() shouldn't return session; fixes the Asset.t "get, specific properties - no session" test 2010-06-03 20:04:01 -04:00
Colin Kuskie
b5d17576b0 change some ->gets to direct accessors. 2010-06-03 19:37:57 -07:00