PHP Class Bolt\Tests\EventListener\StorageEventListenerTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: bolt/bolt

Public Methods

Method Description
providePreSaveAlreadyHashed ( )
setUp ( )
testOnPreSavePasswordAlreadyHashed ( $hash ) It should detect already hashed passwords.
testOnPreSavePasswordTooShort ( ) It should throw an exception if the password is shorter than 6 characters.
testOnPreSaveSetPasswordHash ( ) It should hash the users password.

Method Details

providePreSaveAlreadyHashed() public method

setUp() public method

public setUp ( )

testOnPreSavePasswordAlreadyHashed() public method

It should detect already hashed passwords.

testOnPreSavePasswordTooShort() public method

It should throw an exception if the password is shorter than 6 characters.

testOnPreSaveSetPasswordHash() public method

It should hash the users password.