Tags: roderik/pwgen-php
Tags
Fix & enhance tests (#16) * 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