From 6d8796f9c6b90123208ce29463b6b3158e2519e8 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Fri, 13 Apr 2012 14:20:12 +0200 Subject: [PATCH] Fixed tests --- Tests/Fixtures/Form/TestType.php | 2 +- Tests/SimpleFormatterTest.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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',