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
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
Colin Kuskie
95b6b66d69
fix a problem with the generated HTML id.
2010-06-03 16:56:19 -07:00
Colin Kuskie
3ccf71ae0b
Better test cleanups. Hopefully, this fixes the RemoveOldCarts activity.
2010-06-03 16:12:14 -07:00
Colin Kuskie
0d2ac6a858
Get pending assets for cleanup.
2010-06-03 16:11:56 -07:00
Colin Kuskie
4fb7933e34
Exception handling for getSku.
2010-06-03 16:11:11 -07:00
Colin Kuskie
9a1c5c9c03
Cart cleanup from leaky PayDriver test.
2010-06-03 15:40:07 -07:00
Colin Kuskie
2976539482
Content check via truthiness.
2010-06-02 20:26:39 -07:00
Colin Kuskie
dcb9bacc83
One plan per test, please!
2010-06-02 20:23:22 -07:00
Colin Kuskie
e3de7cd162
Update object accessors, fix a problem with pasting.
2010-06-02 19:59:32 -07:00
Colin Kuskie
7b27498912
Change ->get to direct object accessors.
2010-06-02 19:59:14 -07:00
Colin Kuskie
74b500e443
Tests for properties that should be returned by get, and some that should not. Done by hash inspection.
2010-06-02 16:37:00 -07:00