50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
YAML
name: PasswordStrengthValidatorWithClosureTest
|
|
class_comment: null
|
|
dependencies:
|
|
- name: PasswordStrength
|
|
type: class
|
|
source: Symfony\Component\Validator\Constraints\PasswordStrength
|
|
- name: PasswordStrengthValidator
|
|
type: class
|
|
source: Symfony\Component\Validator\Constraints\PasswordStrengthValidator
|
|
- name: ConstraintValidatorTestCase
|
|
type: class
|
|
source: Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
|
- name: StringableValue
|
|
type: class
|
|
source: Symfony\Component\Validator\Tests\Constraints\Fixtures\StringableValue
|
|
properties: []
|
|
methods:
|
|
- name: createValidator
|
|
visibility: protected
|
|
parameters: []
|
|
comment: null
|
|
- name: testValidValues
|
|
visibility: public
|
|
parameters:
|
|
- name: value
|
|
- name: expectedStrength
|
|
comment: '# * @dataProvider getValidValues'
|
|
- name: getValidValues
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: testThePasswordIsWeak
|
|
visibility: public
|
|
parameters:
|
|
- name: constraint
|
|
- name: password
|
|
- name: expectedMessage
|
|
- name: expectedCode
|
|
- name: strength
|
|
comment: '# * @dataProvider provideInvalidConstraints'
|
|
- name: provideInvalidConstraints
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Validator\Constraints\PasswordStrength
|
|
- Symfony\Component\Validator\Constraints\PasswordStrengthValidator
|
|
- Symfony\Component\Validator\Test\ConstraintValidatorTestCase
|
|
- Symfony\Component\Validator\Tests\Constraints\Fixtures\StringableValue
|
|
interfaces: []
|