mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-03-10 09:36:10 +03:00
Fixed tests
This commit is contained in:
parent
12f65fed4f
commit
6d8796f9c6
@ -21,7 +21,7 @@ class TestType extends AbstractType
|
|||||||
*/
|
*/
|
||||||
public function buildForm(FormBuilder $builder, array $options)
|
public function buildForm(FormBuilder $builder, array $options)
|
||||||
{
|
{
|
||||||
$builder->add('a');
|
$builder->add('a', null, array('description' => 'A nice description'));
|
||||||
$builder->add('b');
|
$builder->add('b');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,10 +49,12 @@ class SimpleFormatterTest extends WebTestCase
|
|||||||
'a' => array(
|
'a' => array(
|
||||||
'dataType' => 'string',
|
'dataType' => 'string',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
|
'description' => 'A nice description',
|
||||||
),
|
),
|
||||||
'b' => array(
|
'b' => array(
|
||||||
'dataType' => 'string',
|
'dataType' => 'string',
|
||||||
'required' => true,
|
'required' => true,
|
||||||
|
'description' => '',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
'description' => 'create test',
|
'description' => 'create test',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user