Documentation

A_User extends Base
in package

Table of Contents

$defaultPassrowd  : string
The default user password.
$logs  : mixed
$id  : mixed
User id.
$logToFile  : bool
$record  : array<string|int, Users_Record_Model>
List of \Users_Record_Model.
createUsersRecord()  : Users_Record_Model
Create/return users module record model with demo user.
testAddUser()  : mixed
Testing user creation.
testDeleteUser()  : mixed
Testing user deletion.
testDelteLocksUser()  : mixed
Testing locks deletion.
testEditUser()  : mixed
Testing user edition.
testLoadBaseUser()  : mixed
Testing user creation.
testLocksUser()  : mixed
Testing locks creation.
disableLogs()  : void
Disable system logs.
enableLogs()  : void
Enable system logs.
onNotSuccessfulTest()  : void
This method is called when a test method did not execute successfully.

Properties

$defaultPassrowd

The default user password.

public static string $defaultPassrowd = 'Demo12345678T'

$logs

public mixed $logs

$id

User id.

private static mixed $id

$logToFile

private bool $logToFile

$record

List of \Users_Record_Model.

private static array<string|int, Users_Record_Model> $record = []

Methods

createUsersRecord()

Create/return users module record model with demo user.

public static createUsersRecord([string $login = 'demo' ]) : Users_Record_Model
Parameters
$login : string = 'demo'
Tags
codeCoverageIgnore
throws
Exception
Return values
Users_Record_Model

testAddUser()

Testing user creation.

public testAddUser() : mixed
Return values
mixed

testDeleteUser()

Testing user deletion.

public testDeleteUser() : mixed
Return values
mixed

testDelteLocksUser()

Testing locks deletion.

public testDelteLocksUser() : mixed
Return values
mixed

testEditUser()

Testing user edition.

public testEditUser() : mixed
Return values
mixed

testLoadBaseUser()

Testing user creation.

public testLoadBaseUser() : mixed
Return values
mixed

testLocksUser()

Testing locks creation.

public testLocksUser() : mixed
Return values
mixed

disableLogs()

Disable system logs.

protected disableLogs() : void
Return values
void

enableLogs()

Enable system logs.

protected enableLogs() : void
Return values
void

onNotSuccessfulTest()

This method is called when a test method did not execute successfully.

protected onNotSuccessfulTest(Throwable $t) : void
Parameters
$t : Throwable
Tags
codeCoverageIgnore
Return values
void

Search results