50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
|
name: ResponseHeaderLocationSameTest
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: ExpectationFailedException
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\ExpectationFailedException
|
||
|
- name: TestCase
|
||
|
type: class
|
||
|
source: PHPUnit\Framework\TestCase
|
||
|
- name: Request
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Request
|
||
|
- name: Response
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Response
|
||
|
- name: ResponseHeaderLocationSame
|
||
|
type: class
|
||
|
source: Symfony\Component\HttpFoundation\Test\Constraint\ResponseHeaderLocationSame
|
||
|
properties: []
|
||
|
methods:
|
||
|
- name: testConstraintSuccess
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: requestUrl
|
||
|
- name: location
|
||
|
- name: expectedLocation
|
||
|
comment: '# * @dataProvider provideSuccessCases'
|
||
|
- name: provideSuccessCases
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
- name: testConstraintFailure
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: requestUrl
|
||
|
- name: location
|
||
|
- name: expectedLocation
|
||
|
comment: '# * @dataProvider provideFailureCases'
|
||
|
- name: provideFailureCases
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: null
|
||
|
traits:
|
||
|
- PHPUnit\Framework\ExpectationFailedException
|
||
|
- PHPUnit\Framework\TestCase
|
||
|
- Symfony\Component\HttpFoundation\Request
|
||
|
- Symfony\Component\HttpFoundation\Response
|
||
|
- Symfony\Component\HttpFoundation\Test\Constraint\ResponseHeaderLocationSame
|
||
|
interfaces: []
|