Test cases for UserController.
More...
Test cases for UserController.
Definition at line 34 of file UserControllerTest.php.
◆ getResponseJson()
Fossology\UI\Api\Test\Controllers\UserControllerTest::getResponseJson |
( |
|
$response | ) |
|
|
private |
◆ getUsers()
Fossology\UI\Api\Test\Controllers\UserControllerTest::getUsers |
( |
|
$userIds | ) |
|
|
private |
Generate array of users
- Parameters
-
array | $userIds | User ids to be generated |
- Returns
- array[]
Definition at line 105 of file UserControllerTest.php.
◆ setUp()
Fossology\UI\Api\Test\Controllers\UserControllerTest::setUp |
( |
| ) |
|
|
protected |
◆ tearDown()
Fossology\UI\Api\Test\Controllers\UserControllerTest::tearDown |
( |
| ) |
|
|
protected |
Remove test objects.
- See also
- PHPUnit_Framework_TestCase::tearDown()
Definition at line 81 of file UserControllerTest.php.
◆ testDeleteUser()
Fossology\UI\Api\Test\Controllers\UserControllerTest::testDeleteUser |
( |
| ) |
|
◆ testDeleteUserDoesNotExists()
Fossology\UI\Api\Test\Controllers\UserControllerTest::testDeleteUserDoesNotExists |
( |
| ) |
|
◆ testGetAllUsers()
Fossology\UI\Api\Test\Controllers\UserControllerTest::testGetAllUsers |
( |
| ) |
|
◆ testGetCurrentUser()
Fossology\UI\Api\Test\Controllers\UserControllerTest::testGetCurrentUser |
( |
| ) |
|
◆ testGetSpecificUser()
Fossology\UI\Api\Test\Controllers\UserControllerTest::testGetSpecificUser |
( |
| ) |
|
◆ testGetSpecificUserNotFound()
Fossology\UI\Api\Test\Controllers\UserControllerTest::testGetSpecificUserNotFound |
( |
| ) |
|
◆ $assertCountBefore
integer Fossology\UI\Api\Test\Controllers\UserControllerTest::$assertCountBefore |
|
private |
◆ $dbHelper
DbHelper Fossology\UI\Api\Test\Controllers\UserControllerTest::$dbHelper |
|
private |
◆ $restHelper
RestHelper Fossology\UI\Api\Test\Controllers\UserControllerTest::$restHelper |
|
private |
The documentation for this class was generated from the following file: