add testing for customfield, correcting request injection

This commit is contained in:
2014-11-08 15:07:15 +01:00
parent 8b71a9e7cf
commit 7daa1a240e
14 changed files with 225 additions and 1762 deletions

View File

@@ -15,8 +15,7 @@ services:
chill.custom_field.custom_field_choice_type:
class: Chill\CustomFieldsBundle\Form\CustomFieldType
arguments:
- "@chill.custom_field.provider"
- "@chill.custom_field.provider"
tags:
- { name: 'form.type', alias: 'custom_field_choice' }
@@ -38,6 +37,8 @@ services:
chill.custom_field.text:
class: Chill\CustomFieldsBundle\CustomFields\CustomFieldText
arguments:
- "@request_stack"
tags:
- { name: 'chill.custom_field', type: 'text' }