PHP Class CakeDC\Users\Test\TestCase\Shell\UsersShellTest

Inheritance: extends Cake\TestSuite\TestCase
Show file Open project: cakedc/users

Public Properties

Property Type Description
$fixtures array Fixtures

Public Methods

Method Description
setUp ( ) : void Set up
tearDown ( ) : void Tear Down
testActivateUser ( ) : void Activate user
testAddSuperuser ( ) : void Add superadmin user
testAddUser ( ) : void Add user test Adding user with username, email and password
testAddUserWithNoParams ( ) : void Add user test Adding user passing no params
testChangeRole ( ) : void Change role
testDeleteUser ( ) : void Delete user
testResetAllPasswords ( ) : void Reset all passwords
testResetAllPasswordsNoPassingParams ( ) : void Reset all passwords
testResetPassword ( ) : void Reset password

Method Details

setUp() public method

Set up
public setUp ( ) : void
return void

tearDown() public method

Tear Down
public tearDown ( ) : void
return void

testActivateUser() public method

Activate user
public testActivateUser ( ) : void
return void

testAddSuperuser() public method

Add superadmin user
public testAddSuperuser ( ) : void
return void

testAddUser() public method

Add user test Adding user with username, email and password
public testAddUser ( ) : void
return void

testAddUserWithNoParams() public method

Add user test Adding user passing no params
public testAddUserWithNoParams ( ) : void
return void

testChangeRole() public method

Change role
public testChangeRole ( ) : void
return void

testDeleteUser() public method

Delete user
public testDeleteUser ( ) : void
return void

testResetAllPasswords() public method

Reset all passwords
public testResetAllPasswords ( ) : void
return void

testResetAllPasswordsNoPassingParams() public method

Reset all passwords

testResetPassword() public method

Reset password
public testResetPassword ( ) : void
return void

Property Details

$fixtures public property

Fixtures
public array $fixtures
return array