Graham Knop
e063818e2d
some URL fixes and removing some uses of PseudoRequest
2010-06-11 23:01:57 -05:00
Graham Knop
169218abf7
fix mistake in WebGUI::Test
2010-06-11 23:01:57 -05:00
Colin Kuskie
dcdd671b2c
Fix the pending flag, get a fresh copy of the photo asset under test.
2010-06-11 20:18:48 -07:00
Colin Kuskie
416c3737c6
Fix cleaning up some files. Asset->new is not to be used unless you know what you're doing.
2010-06-11 19:45:31 -07:00
Colin Kuskie
7df0cc51ed
Always get a fresh copy of the survey after doing revision control.
2010-06-11 19:11:12 -07:00
Colin Kuskie
1e55078ac0
Update this test for WebGUI::Definition;
2010-06-11 18:42:17 -07:00
Colin Kuskie
be4ea78732
Fetch fresh assets, test fails due to seg fault from JavaScript::Minifier::XS
2010-06-11 15:42:59 -07:00
Colin Kuskie
a766179b89
Add maintenancePage to the config file.
2010-06-11 13:06:24 -07:00
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
2c1e2b9d3e
quickArray returns 1 row, buildArray returns all rows
2010-06-11 10:48:11 -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
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
596420cd1f
generate better hex ids for manually created badly formed guids
2010-06-10 11:32:32 -05:00
Graham Knop
0ddd109775
reset groups for all assets in database instead of those listed in config file
2010-06-10 10:09:55 -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