Properties

$field_username

$field_username

$field_first_name

$field_first_name

$field_surname

$field_surname

$field_email

$field_email

$username

$username

$first_name

$first_name

$surname

$surname

$email

$email

Methods

createApplication()

createApplication() : \Symfony\Component\HttpKernel\HttpKernelInterface

Creates the application.

Returns

\Symfony\Component\HttpKernel\HttpKernelInterface

testRegisterSucessful()

testRegisterSucessful()

T-API01 Tests a successful registration in the system

testRegisterBlankUsername()

testRegisterBlankUsername()

T-API02 Tests a registration in the system with a blank username

testRegisterSmallUsername()

testRegisterSmallUsername()

T-API03 Tests a registration in the system with a username of less than two characters

testRegisterLongUsername()

testRegisterLongUsername()

T-API04 Tests a registration in the system with a username of more than six characters

testRegisterUsedUsername()

testRegisterUsedUsername()

T-API05 Tests a registration in the system with a username already registered

testRegisterInvalidUsername()

testRegisterInvalidUsername()

T-API06 Tests a registration in the system with a username string with different characters than numbers, letters, dashes or underscors

testRegisterBlankFirstName()

testRegisterBlankFirstName()

T-API07 Tests a registration in the system with a blank first name

testRegisterLongFirstName()

testRegisterLongFirstName()

T-API08 Tests a registration in the system with a more than 30 chars first name

testRegisterInvalidFirstName()

testRegisterInvalidFirstName()

T-API09 Tests a registration in the system with an invalid name string (should only have letters and spaces)

testRegisterBlankSurname()

testRegisterBlankSurname()

T-API10 Tests a registration in the system with a blank surname

testRegisterLongSurname()

testRegisterLongSurname()

T-API11 Tests a registration in the system with a surname of more than 100 characters

testRegisterInvalidSurname()

testRegisterInvalidSurname()

T-API12 Tests a registration in the system with an invalid surname

testRegisterBlankEmail()

testRegisterBlankEmail()

T-API13 Tests a registration in the system with a blank email

testRegisterWrongEmail()

testRegisterWrongEmail()

T-API14 Tests a registration in the system with an email invalid email

testRegisterLongEmail()

testRegisterLongEmail()

T-API15 Tests a registration in the system with an email of more than 50 chars

testRegisterRepeatedEmail()

testRegisterRepeatedEmail()

T-API16 Tests a registration in the system with an email already registered

testDeleteSuccessful()

testDeleteSuccessful()

NOT DOCUMENTED Tests the deletion of a user

getUserData()

getUserData(string $username, string $first_name, string $surname, string $email) : array

Creates an array with user data to test and returns it

Parameters

string $username
string $first_name
string $surname
string $email

Returns

array