stable

Clone or download

Read-only

Test that user groups representations contains LDAP information

The REST tests now start an LDAP server so we can do "real" tests against it. Closes story #22707: add LDAP groups binding info to /user_groups/{id} and /projects/{id}/user_groups REST routes Change-Id: I3d16b111bee313034622c81063c2c2a946cb51b5

Modified Files

Name
A plugins/ldap/tests/rest/LDAPUserGroupTest.php +72 −0 Go to diff View file
A plugins/ldap/tests/rest/_fixtures/ldaptests/project.xml +39 −0 Go to diff View file
A plugins/ldap/tests/rest/_fixtures/ldaptests/user_map.csv +1 −0 Go to diff View file
A plugins/ldap/tests/rest/_fixtures/ldaptests/users.xml +28 −0 Go to diff View file
A plugins/ldap/tests/rest/docker-compose.yml +9 −0 Go to diff View file
A plugins/ldap/tests/rest/init_test_data.php +45 −0 Go to diff View file
A plugins/ldap/tests/rest/ldap.inc +22 −0 Go to diff View file
A plugins/ldap/tests/rest/setup.sh +6 −0 Go to diff View file
M plugins/program_management/tests/rest/v1/ProjectResourceTest.php +3 −4 Go to diff View file
M tests/rest/bin/run-compose.sh +13 −11 Go to diff View file
A tests/rest/docker-compose-mariadb-13.3.yml +10 −0 Go to diff View file
A tests/rest/docker-compose-mysql57.yml +10 −0 Go to diff View file
M tests/rest/docker-compose.yml +0 −16 Go to diff View file
M tests/rest/tests/ProjectTest.php +4 −4 Go to diff View file