81 lines
1.9 KiB
YAML
81 lines
1.9 KiB
YAML
name: ApiAttributesTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: JsonResponse
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\JsonResponse
|
|
- name: Request
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Request
|
|
- name: Response
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\Response
|
|
- name: MapQueryString
|
|
type: class
|
|
source: Symfony\Component\HttpKernel\Attribute\MapQueryString
|
|
- name: MapRequestPayload
|
|
type: class
|
|
source: Symfony\Component\HttpKernel\Attribute\MapRequestPayload
|
|
- name: Assert
|
|
type: class
|
|
source: Symfony\Component\Validator\Constraints
|
|
properties: []
|
|
methods:
|
|
- name: testMapQueryString
|
|
visibility: public
|
|
parameters:
|
|
- name: query
|
|
- name: expectedResponse
|
|
- name: expectedStatusCode
|
|
comment: '# * @dataProvider mapQueryStringProvider'
|
|
- name: mapQueryStringProvider
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testMapRequestPayload
|
|
visibility: public
|
|
parameters:
|
|
- name: format
|
|
- name: parameters
|
|
- name: content
|
|
- name: expectedResponse
|
|
- name: expectedStatusCode
|
|
comment: '# * @dataProvider mapRequestPayloadProvider'
|
|
- name: mapRequestPayloadProvider
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: __invoke
|
|
visibility: public
|
|
parameters:
|
|
- name: query
|
|
comment: null
|
|
- name: __invoke
|
|
visibility: public
|
|
parameters:
|
|
- name: body
|
|
- name: request
|
|
comment: null
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: filter
|
|
comment: null
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: status
|
|
- name: '#[Assert\LessThan(10'
|
|
comment: null
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: '10'
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\HttpFoundation\JsonResponse
|
|
- Symfony\Component\HttpFoundation\Request
|
|
- Symfony\Component\HttpFoundation\Response
|
|
- Symfony\Component\HttpKernel\Attribute\MapQueryString
|
|
- Symfony\Component\HttpKernel\Attribute\MapRequestPayload
|
|
interfaces: []
|