Tests for GroupController.
More...
|
const | YAML_LOC = __DIR__ . '/../../../ui/api/documentation/openapi.yaml' |
|
Tests for GroupController.
Definition at line 42 of file GroupControllerTest.php.
◆ getGroupMembers()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::getGroupMembers |
( |
|
$userIds | ) |
|
|
private |
Generate array of group-members
- Parameters
-
array | $userIds | User ids to be generated |
- Returns
- array[]
Definition at line 133 of file GroupControllerTest.php.
◆ getResponseJson()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::getResponseJson |
( |
|
$response | ) |
|
|
private |
◆ getUsersWithGroup()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::getUsersWithGroup |
( |
|
$userIds | ) |
|
|
private |
Generate array of users-with-group
- Parameters
-
array | $userIds | User ids to be generated |
- Returns
- array[]
Definition at line 153 of file GroupControllerTest.php.
◆ setUp()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::setUp |
( |
| ) |
|
|
protected |
◆ tearDown()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::tearDown |
( |
| ) |
|
|
protected |
◆ testAddMemberUserAlreadyMember()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::testAddMemberUserAlreadyMember |
( |
| ) |
|
◆ testAddMemberUserGroupAdmin()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::testAddMemberUserGroupAdmin |
( |
| ) |
|
◆ testAddMemberUserNotAdmin()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::testAddMemberUserNotAdmin |
( |
| ) |
|
◆ testAddMemberUserNotMember()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::testAddMemberUserNotMember |
( |
| ) |
|
◆ testChangeUserPermission()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::testChangeUserPermission |
( |
| ) |
|
◆ testDeleteGroup()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::testDeleteGroup |
( |
| ) |
|
◆ testGetDeletableGroups()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::testGetDeletableGroups |
( |
| ) |
|
◆ testGetGroupMembers()
Fossology\UI\Api\Test\Controllers\GroupControllerTest::testGetGroupMembers |
( |
| ) |
|
◆ $adminPlugin
M MockInterface Fossology\UI\Api\Test\Controllers\GroupControllerTest::$adminPlugin |
|
private |
◆ $assertCountBefore
integer Fossology\UI\Api\Test\Controllers\GroupControllerTest::$assertCountBefore |
|
private |
◆ $dbHelper
DbHelper Fossology\UI\Api\Test\Controllers\GroupControllerTest::$dbHelper |
|
private |
◆ $restHelper
RestHelper Fossology\UI\Api\Test\Controllers\GroupControllerTest::$restHelper |
|
private |
◆ YAML_LOC
string Fossology\UI\Api\Test\Controllers\GroupControllerTest::YAML_LOC = __DIR__ . '/../../../ui/api/documentation/openapi.yaml' |
The documentation for this class was generated from the following file: