diff --git a/tests/Doctrine/Tests/Models/DDC117/DDC117Article.php b/tests/Doctrine/Tests/Models/DDC117/DDC117Article.php index e1df91c9a..9d57b5652 100644 --- a/tests/Doctrine/Tests/Models/DDC117/DDC117Article.php +++ b/tests/Doctrine/Tests/Models/DDC117/DDC117Article.php @@ -29,7 +29,7 @@ class DDC117Article private $translations; /** - * @OneToMany(targetEntity="DDC117Link", mappedBy="source", indexBy="target_id") + * @OneToMany(targetEntity="DDC117Link", mappedBy="source", indexBy="target_id", cascade={"persist", "remove"}) */ private $links;