diff --git a/Tests/Fixtures/Form/TestType.php b/Tests/Fixtures/Form/TestType.php index d2bd511..a6a1b08 100644 --- a/Tests/Fixtures/Form/TestType.php +++ b/Tests/Fixtures/Form/TestType.php @@ -21,7 +21,7 @@ class TestType extends AbstractType */ public function buildForm(FormBuilder $builder, array $options) { - $builder->add('a'); + $builder->add('a', null, array('description' => 'A nice description')); $builder->add('b'); } diff --git a/Tests/SimpleFormatterTest.php b/Tests/SimpleFormatterTest.php index a5b3f67..3bbfe1b 100644 --- a/Tests/SimpleFormatterTest.php +++ b/Tests/SimpleFormatterTest.php @@ -49,10 +49,12 @@ class SimpleFormatterTest extends WebTestCase 'a' => array( 'dataType' => 'string', 'required' => true, + 'description' => 'A nice description', ), 'b' => array( 'dataType' => 'string', 'required' => true, + 'description' => '', ), ), 'description' => 'create test',