diff --git a/Tests/Resources/Document/Content.php b/Tests/Resources/Document/Content.php index 8a6983b..8812d59 100644 --- a/Tests/Resources/Document/Content.php +++ b/Tests/Resources/Document/Content.php @@ -43,7 +43,7 @@ class Content protected $name; /** - * @PHPCRODM\String + * @PHPCRODM\Field(type="string") */ protected $title; diff --git a/composer.json b/composer.json index 5e6243b..e622f05 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,8 @@ }, "require-dev": { "twig/twig": "~1.12,>=1.12.0", - "symfony-cmf/testing": "~1.2,>=1.2.6", + "symfony-cmf/testing": "~1.2,>=1.2.7", + "doctrine/phpcr-odm": "~1.3", "doctrine/annotations": ">=1.1.2", "jms/serializer-bundle": "~0.12", "liip/imagine-bundle": "~1.0.4",