46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
name: SwitchUserTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: JsonResponse
|
|
type: class
|
|
source: Symfony\Component\HttpFoundation\JsonResponse
|
|
- name: SwitchUserListener
|
|
type: class
|
|
source: Symfony\Component\Security\Http\Firewall\SwitchUserListener
|
|
properties: []
|
|
methods:
|
|
- name: testSwitchUser
|
|
visibility: public
|
|
parameters:
|
|
- name: originalUser
|
|
- name: targetUser
|
|
- name: expectedUser
|
|
- name: expectedStatus
|
|
comment: '# * @dataProvider getTestParameters'
|
|
- name: testSwitchedUserCanSwitchToOther
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSwitchedUserExit
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testSwitchUserStateless
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: getTestParameters
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: createAuthenticatedClient
|
|
visibility: protected
|
|
parameters:
|
|
- name: username
|
|
- name: options
|
|
default: '[]'
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\HttpFoundation\JsonResponse
|
|
- Symfony\Component\Security\Http\Firewall\SwitchUserListener
|
|
interfaces: []
|