Files
core/tests/datasets/scene.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

53 lines
1.3 KiB
YAML

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"
-
id: 4
title: "Another Village"
description: "This is another village"
template: "lotgd/tests/village"
-
id: 5
title: "Orphan"
description: "This is an orphan scene"
template: "lotgd/tests/orphan"
scene_connection_groups:
-
scene: 1
name: "lotgd/tests/village/outside"
title: "Outside"
-
scene: 1
name: "lotgd/tests/village/market"
title: "Market"
-
scene: 1
name: "lotgd/tests/village/empty"
title: "Empty"
-
scene: 2
name: "lotgd/tests/forest/category"
title: "Empty"
scene_connections:
-
outgoingScene: 1
incomingScene: 2
-
outgoingScene: 1
incomingScene: 3
-
outgoingScene: 1
incomingScene: 4