Commit Graph

34 Commits

Author SHA1 Message Date
Will Rossiter
a0396d043d
fix: test method 2023-09-06 23:13:29 +12:00
Will Rossiter
3d5995526c
feat: silverstripe 5 support 2023-09-06 20:35:07 +12:00
Franco Springveldt
2aa75d758c FIX changed MultiForm namespace 2017-09-12 11:51:17 +12:00
Franco Springveldt
34970c754f FIX regression testing fixes 2017-09-11 15:25:16 +12:00
Franco Springveldt
1331a60fd7 FIX PR review fixes
* removed @package references
* included stubs in the test namespaces
* updated various return types
* updated composr psr4 autoload classes
* doc update
2017-09-08 17:12:17 +12:00
Franco Springveldt
bc05f327d3 FIX removed static:: and self:: calls 2017-09-08 17:10:48 +12:00
Franco Springveldt
a633f81b96 FIX fixed failing tests 2017-09-08 17:10:48 +12:00
Franco Springveldt
b739e6cc5f Namespace changes and some more linting fixes 2017-09-08 17:04:42 +12:00
Franco Springveldt
43cc780627 FIX ran linter and removed php tags from README 2017-09-08 17:04:42 +12:00
Damian Mooyman
243caeb579 Merge remote-tracking branch 'origin/1.1'
# Conflicts:
#	.travis.yml
#	code/extensions/MultiFormObjectDecorator.php
#	code/model/MultiForm.php
#	composer.json
#	tests/MultiFormTest.php
2015-11-30 10:30:20 +13:00
Peter Thaleikis
d239c294af MINOR codestyle to improve readibility 2015-11-25 00:08:14 +13:00
Peter Thaleikis
f96a9832d9 remove trailing spaces in the codebase 2015-11-02 13:38:50 +13:00
Sean Harvey
5eb68aa62c Fixing MultiFormObjectDecorator to work with SS 3.1
Conflicts:
	tests/MultiFormTest.php
2015-04-30 23:03:34 +12:00
Loz Calver
59cc14b347 NEW: session ID GET var can be renamed 2015-02-03 15:17:42 +00:00
Will Rossiter
8485666273 FIX multiple session records being created per page request 2014-07-02 21:03:48 +12:00
Will Rossiter
25f0c051ff FIX: Update class properties to use late static binding 2013-05-25 19:04:59 +12:00
Ingo Schommer
ed7846168d Backwards compat (FieldList fallbacks) 2013-01-03 10:05:21 +01:00
Sean Harvey
6bbe69079d MINOR Updating code to support SS 3.0, still maintains backwards compatibility with 2.4, just not in the tests. 2012-05-14 15:23:01 +12:00
Ingo Schommer
5dd19ad41b MINOR Disabled MultiFormTest->testStepTraversal() as it doesn't test anything, and fails in combination with recent Form->httpSubmission() changes 2010-12-19 23:51:02 +00:00
Sean Harvey
29c2e7fd5a MINOR Fixed location where protected static should've been public in MultiFormTest 2010-05-11 03:37:51 +00:00
Sean Harvey
1374144435 API CHANGE Changed MultiFormStep::$next_steps to public, and MultiFormStep::$is_final_step to public 2010-05-11 03:35:40 +00:00
Sean Harvey
209e56aa4b API CHANGE MultiForm::$start_step is now declared as public, not protected, due to changes in Object::get_static() 2010-05-11 03:30:55 +00:00
Mark Stephens
8d434eb3ad BUGFIX: Unit test relied on fixed ID of member, which sometimes isn't there. May be PostGreSQL related 2010-05-04 02:14:17 +00:00
Sean Harvey
b415cd5053 MINOR Added test case for making up a fake MultiFormSessionID in the URL 2009-08-05 10:31:47 +00:00
Sean Harvey
c2ba6d441f API CHANGE Added currentSessionHash property to MultiForm which stores the currently opened session by the user
API CHANGE Renamed MultiForm::getSessionRecord() to getCurrentSession() and removed the parameter, since this wasn't done in a very OOP manner
MINOR Test for MultiFormSession::markCompleted() to ensure that session can't be used again by MultiForm
2009-08-05 10:12:13 +00:00
Sean Harvey
c944adb7ba MINOR Test step traversal in MultiFormTest
MINOR Removed MultiFormSessionTest and integrated with MultiFormTest
2009-07-20 22:36:32 +00:00
Sean Harvey
75aa55be48 MINOR Fixed submitForm test in MultiFormTest 2009-07-20 10:57:00 +00:00
Sean Harvey
8e04dfbaa5 MINOR Tidy up of tests 2009-07-20 09:22:49 +00:00
Sean Harvey
0512155cbe MINOR Updated MultiFormTest class comments 2008-09-20 09:27:38 +00:00
Sam Minnee
e2d8ace250 Fixed multi form test 2008-08-21 08:17:04 +00:00
Sean Harvey
e843930e69 MINOR added @TODO note for MultiFormTest 2008-07-21 03:27:44 +00:00
Sean Harvey
0f2bfb2cc5 MINOR tests updated to reflect API change in r56597 2008-06-19 10:32:15 +00:00
Sean Harvey
2f4e8de921 Added tests, and used assertEquals which makes better use of PHPUnit 2008-05-23 05:47:07 +00:00
Sean Harvey
e4f51e07c2 Added basics for testing, and some test classes for future test operations 2008-05-14 11:09:47 +00:00