PHP Class JeremyKendall\Password\Tests\Decorator\KarptoniteRehashUpgradeDecoratorTest

In order to properly validate this scenario, the $validationCallback should be written to use {@link http://php.net/password_verify password_verify} to test the plain text password's legacy hash against the upgraded, persisted hash.
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: jeremykendall/password-validator

Public Methods

Method Description
callbackDataProvider ( )
testRehashingPasswordHashesScenarioCredentialIsNotValid ( )
testRehashingPasswordHashesScenarioCredentialIsValid ( )
testVerifyValidationCallback ( $password, $result )

Protected Methods

Method Description
setUp ( )

Method Details

callbackDataProvider() public method

setUp() protected method

protected setUp ( )

testRehashingPasswordHashesScenarioCredentialIsNotValid() public method

testRehashingPasswordHashesScenarioCredentialIsValid() public method

testVerifyValidationCallback() public method

public testVerifyValidationCallback ( $password, $result )