mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Fixed the testsuite
This commit is contained in:
parent
cf36b414b1
commit
32b40deda8
@ -17,6 +17,7 @@ class Test
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @Assert\MinLength("foo");
|
* @Assert\MinLength("foo");
|
||||||
|
* @Assert\NotBlank
|
||||||
*/
|
*/
|
||||||
public $a;
|
public $a;
|
||||||
|
|
||||||
|
@ -64,6 +64,11 @@ _create test_
|
|||||||
|
|
||||||
#### Parameters ####
|
#### Parameters ####
|
||||||
|
|
||||||
|
c:
|
||||||
|
|
||||||
|
* type: boolean
|
||||||
|
* required: true
|
||||||
|
|
||||||
a:
|
a:
|
||||||
|
|
||||||
* type: string
|
* type: string
|
||||||
@ -73,12 +78,7 @@ a:
|
|||||||
b:
|
b:
|
||||||
|
|
||||||
* type: string
|
* type: string
|
||||||
* required: true
|
* required: false
|
||||||
|
|
||||||
c:
|
|
||||||
|
|
||||||
* type: boolean
|
|
||||||
* required: true
|
|
||||||
|
|
||||||
|
|
||||||
### `POST` /tests ###
|
### `POST` /tests ###
|
||||||
@ -87,6 +87,11 @@ _create test_
|
|||||||
|
|
||||||
#### Parameters ####
|
#### Parameters ####
|
||||||
|
|
||||||
|
c:
|
||||||
|
|
||||||
|
* type: boolean
|
||||||
|
* required: true
|
||||||
|
|
||||||
a:
|
a:
|
||||||
|
|
||||||
* type: string
|
* type: string
|
||||||
@ -96,12 +101,7 @@ a:
|
|||||||
b:
|
b:
|
||||||
|
|
||||||
* type: string
|
* type: string
|
||||||
* required: true
|
* required: false
|
||||||
|
|
||||||
c:
|
|
||||||
|
|
||||||
* type: boolean
|
|
||||||
* required: true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ class SimpleFormatterTest extends WebTestCase
|
|||||||
'b' =>
|
'b' =>
|
||||||
array(
|
array(
|
||||||
'dataType' => 'string',
|
'dataType' => 'string',
|
||||||
'required' => true,
|
'required' => false,
|
||||||
'description' => '',
|
'description' => '',
|
||||||
),
|
),
|
||||||
'c' =>
|
'c' =>
|
||||||
@ -124,7 +124,7 @@ class SimpleFormatterTest extends WebTestCase
|
|||||||
'b' =>
|
'b' =>
|
||||||
array(
|
array(
|
||||||
'dataType' => 'string',
|
'dataType' => 'string',
|
||||||
'required' => true,
|
'required' => false,
|
||||||
'description' => '',
|
'description' => '',
|
||||||
),
|
),
|
||||||
'c' =>
|
'c' =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user