mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-27 21:15:40 +02:00
Enables more generic use of the fixture facilities without dependency on the YAML format, for example when creating fixtures from Behat step definitions. Note: The YamlFixture class needs to be created via Injector::inst()->create('YamlFixture') now, direct instantiation is no longer supported.
12 lines
372 B
YAML
12 lines
372 B
YAML
YamlFixtureTest_DataObjectRelation:
|
|
relation1:
|
|
Name: Relation1
|
|
relation2:
|
|
Name: Relation2
|
|
YamlFixtureTest_DataObject:
|
|
testobject1:
|
|
Name: TestObject1
|
|
ManyMany: =>YamlFixtureTest_DataObjectRelation.relation1,=>YamlFixtureTest_DataObjectRelation.relation2
|
|
testobject2:
|
|
Name: TestObject2
|
|
ManyMany: =>YamlFixtureTest_DataObjectRelation.relation1 |