Graham Knop
89d4f46a18
Merge branch 'psgi' into WebGUI8
2010-06-11 23:05:06 -05:00
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
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
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
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
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
Graham Knop
02af1c68f9
Merge branch 'WebGUI8' into psgi
2010-06-08 17:59:17 -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
Patrick Donelan
d75fa54231
Preliminary PseudoRequest workarounds
2010-06-04 22:32:48 -04:00
Patrick Donelan
f16ba76b86
Merge branch 'WebGUI8' into psgi
...
Conflicts:
sbin/testEnvironment.pl
2010-06-04 21:01:03 -04: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
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
Colin Kuskie
b5d17576b0
change some ->gets to direct accessors.
2010-06-03 19:37:57 -07:00
Colin Kuskie
cd97f2e0ab
Remove use_ok, SKIP, plan, END block.
2010-06-03 17:09:58 -07:00
Colin Kuskie
2ad02b32e1
Codify in 1 place how to skip autocommit workflows, and notification.
2010-06-03 17:09:18 -07:00
Colin Kuskie
15faef5d01
Fix caching a subroutine ref. Small test cleanups.
2010-06-03 16:56:52 -07:00