\Test\CoreModule\ModelUserManagerTest

Tests for certificate manager

Summary

Methods
Properties
Constants
__construct()
testChangePasswordFail()
testChangePasswordSuccess()
testDelete()
testEditFail()
testEditSuccess()
testGetInfoFail()
testGetInfoSuccess()
testGetUsersNone()
testGetUsersOne()
testRegisterFail()
testRegisterSuccess()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(\Test\CoreModule\Model\Container  container) : 

Constructor

Parameters

\Test\CoreModule\Model\Container container

Nette Tester Container

Returns

testChangePasswordFail()

testChangePasswordFail() : 

Test function to change the password (incorrect old password)

Returns

testChangePasswordSuccess()

testChangePasswordSuccess() : 

Test function to change the password (correct old password)

Returns

testDelete()

testDelete() : 

Test function to delete the user

Returns

testEditFail()

testEditFail() : 

Test function to edit the user (fail)

Returns

testEditSuccess()

testEditSuccess() : 

Test function to edit the user (success)

Returns

testGetInfoFail()

testGetInfoFail() : 

Test function to get information about the user (fail)

Returns

testGetInfoSuccess()

testGetInfoSuccess() : 

Test function to get information about the user (success)

Returns

testGetUsersNone()

testGetUsersNone() : 

Test function to get all registered users (no registered user)

Returns

testGetUsersOne()

testGetUsersOne() : 

Test function to get all registered users (a registered user)

Returns

testRegisterFail()

testRegisterFail() : 

Test function to register a new user (fail)

Returns

testRegisterSuccess()

testRegisterSuccess() : 

Test function to register a new user (success)

Returns