silverstripe-framework/tests/forms/FormTest.yml
Ingo Schommer 2fbed5b2e1 BUGFIX Adjusted FormTest->testLoadDataFromObject() to new assumptions about changed behaviour on loadDataFrom() from $loadBlanks to $clearMissingFields - which means that form fields are cleared regardless if they have blank values in the passed object or not
ENHANCEMENT Added FormTest->loadDataFromClearMissingFields() 
ENHANCEMENT Made FormTest fixtures more expressive 


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-10-09 14:40:13 +00:00

20 lines
478 B
YAML

FormTest_Team:
team1:
Name: Team 1
team2:
Name: Team 2
FormTest_Player:
captainWithDetails:
Name: Captain Details
Birthday: 1982-01-01
Biography: Bio 1
FavouriteTeam: =>FormTest_Team.team1
Teams: =>FormTest_Team.team1
captainNoDetails:
Name: Captain No Details
Teams: =>FormTest_Team.team2
player1:
Name: Player 1
player2:
Name: Player 2
Teams: =>FormTest_Team.team1,=>FormTest_Team.team2