Phalcon\Test\Validation\Validator\PasswordStrengthTest::testValidateWeakOnScore3 PHP Method

testValidateWeakOnScore3() public method

    public function testValidateWeakOnScore3()
    {
        $validation = Stub::make('Phalcon\\Validation', array('getValue' => 'Weak1', 'appendMessage' => true));
        $validator = new PasswordStrength(array('minScore' => 3));
        $this->assertFalse($validator->validate($validation, 'password'));
    }