mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
e8fbfc0bd1
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 |