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