mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Test fixes.
This commit is contained in:
parent
a8221d4515
commit
07c6557fc5
@ -762,6 +762,14 @@ related:
|
||||
|
||||
* type: object (Test)
|
||||
|
||||
related[a]:
|
||||
|
||||
* type: string
|
||||
|
||||
related[b]:
|
||||
|
||||
* type: DateTime
|
||||
|
||||
|
||||
### `ANY` /z-return-selected-parsers-input ###
|
||||
|
||||
@ -819,6 +827,14 @@ number:
|
||||
related:
|
||||
|
||||
* type: object (Test)
|
||||
|
||||
related[a]:
|
||||
|
||||
* type: string
|
||||
|
||||
related[b]:
|
||||
|
||||
* type: DateTime
|
||||
MARKDOWN;
|
||||
|
||||
$this->assertEquals($expected, $result);
|
||||
|
@ -1080,7 +1080,25 @@ With multiple lines.',
|
||||
'description' => '',
|
||||
'sinceVersion' => null,
|
||||
'untilVersion' => null,
|
||||
'children' => array(),
|
||||
'children' => array(
|
||||
'a' => array(
|
||||
'dataType' => 'string',
|
||||
'actualType' => DataTypes::STRING,
|
||||
'subType' => null,
|
||||
'default' => 'nelmio',
|
||||
'format' => '{length: min: foo}, {not blank}',
|
||||
'required' => true,
|
||||
'readonly' => null
|
||||
),
|
||||
'b' => array(
|
||||
'dataType' => 'DateTime',
|
||||
'actualType' => DataTypes::DATETIME,
|
||||
'subType' => null,
|
||||
'default' => null,
|
||||
'required' => null,
|
||||
'readonly' => null
|
||||
)
|
||||
),
|
||||
)
|
||||
),
|
||||
'authenticationRoles' => array(),
|
||||
@ -1197,7 +1215,25 @@ With multiple lines.',
|
||||
'description' => '',
|
||||
'sinceVersion' => null,
|
||||
'untilVersion' => null,
|
||||
'children' => array(),
|
||||
'children' => array(
|
||||
'a' => array(
|
||||
'dataType' => 'string',
|
||||
'actualType' => DataTypes::STRING,
|
||||
'subType' => null,
|
||||
'default' => 'nelmio',
|
||||
'format' => '{length: min: foo}, {not blank}',
|
||||
'required' => true,
|
||||
'readonly' => null
|
||||
),
|
||||
'b' => array(
|
||||
'dataType' => 'DateTime',
|
||||
'actualType' => DataTypes::DATETIME,
|
||||
'subType' => null,
|
||||
'default' => null,
|
||||
'required' => null,
|
||||
'readonly' => null
|
||||
)
|
||||
),
|
||||
)
|
||||
),
|
||||
'authenticationRoles' => array(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user