-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix asserts using NotRegExp Asserting against the regexp would only prove at leat one character in the generated password is not in the given set. Use of assertNotregExep verify that no character come from the set. Also fix testGenerateNumerals because $capitalize default value in constructor is set to true. Solely defined third parameter to true will also generate upper chars. Add specific test to generate numerals and disable $capitalize. refs #13 #14 * Most ambiguous character are upper ones fix #13 * We may not assert ambiguous chars will be generated refs #13 * Setting noVovels implies having digits & uppers https://github.com/roderik/pwgen-php/blob/7ecf653a701bfa4115fa2cc5fa438c1a5c4dfbaf/src/PWGen.php#L199 refs #13 * Fix test with noVovels set
- Loading branch information
Showing
1 changed file
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters