Files
core/tests/datasets/viewpoints.yml
T
Vassyli 5c3fd4714d Adds fixes and tests for cascade=persist, remove for scene entities.
It still looks like doctrine doesn't "know" about the column names in a cascade=remove relationship and assumes the property name to be also the column name - which is usually not true (by default, it's propertyname_id).

This update changes the column name so that doctrine's assumptions are correct again and adds tests so any changes which invalidates this relationship can be gecocnized easily.
2017-03-11 12:51:25 +01:00

41 lines
996 B
YAML

characters:
-
id: 1
name: "Char without a Scene"
displayName: "A"
-
id: 2
name: "Char with a Scene"
displayName: "B"
viewpoints:
-
owner_id: 2
title: "The Village"
description: "This is the village."
template: "lotgd/tests/village"
data: "a:0:{}"
attachments: "a:0:{}"
actionGroups: "a:0:{}"
scenes:
-
id: 1
title: "The Village"
description: "This is the village."
template: "lotgd/tests/village"
-
id: 2
title: "The Forest"
description: "This is a very dangerous and dark forest"
template: "lotgd/tests/forest"
-
id: 3
title: "The Weaponry"
description: "This is the place where you can buy awesome weapons"
template: "lotgd/tests/weaponry"
scene_connections:
-
outgoingScene: 1
incomingScene: 2
-
outgoingScene: 1
incomingScene: 3