@@ 219-225 (lines=7) @@ | ||
216 | /** |
|
217 | * @return array |
|
218 | */ |
|
219 | public function dataPasswordsMinimumUppercase() |
|
220 | { |
|
221 | return [ |
|
222 | ['PassworD'], |
|
223 | ['password', PasswordRestrictions::MESSAGE_MIN_UPPERCASE, ['{{ min_uppercase }}' => self::PARAMETER_MIN_UPPERCASE], PasswordRestrictions::INVALID_MIN_UPPERCASE_ERROR], |
|
224 | ]; |
|
225 | } |
|
226 | ||
227 | /** |
|
228 | * @return array |
|
@@ 230-236 (lines=7) @@ | ||
227 | /** |
|
228 | * @return array |
|
229 | */ |
|
230 | public function dataPasswordsMinimumSpecialCharacters() |
|
231 | { |
|
232 | return [ |
|
233 | ['password!'], |
|
234 | ['password', PasswordRestrictions::MESSAGE_MIN_SPECIAL_CHARACTERS, ['{{ min_special_characters }}' => self::PARAMETER_MIN_SPECIAL_CHARACTERS], PasswordRestrictions::INVALID_MIN_SPECIAL_CHARACTERS_ERROR], |
|
235 | ]; |
|
236 | } |
|
237 | ||
238 | /** |
|
239 | * Combine the data of the too long and too short test for an extra length |