stable

Clone or download

Read-only

Refactoring: Unit-test DynamicUGroupMembersUpdater

Part of story #13490 have a consistent management of project & groups members How to test: No functional changes expected. When you add a user to any of the dynamic user groups: - Project administrators - Wiki administrators - Forum administrators - News writers / editors - News administrators Then the user is also added to project members. When you remove a user from any of those groups, then the user is not removed from project members. Change-Id: I6e7b86d274e627651cca55ad3328ae9cfed39bf5

Modified Files

Name
M src/common/Project/Admin/ProjectUGroup/ApproveProjectAdministratorRemoval.php +4 −2 Go to diff View file
M src/common/Project/Admin/ProjectUGroup/MembersController.php +1 −0 Go to diff View file
M src/common/Project/ProjectUGroup.php +4 −4 Go to diff View file
M src/common/Project/UGroupManager.class.php +7 −7 Go to diff View file
R src/common/Project/Admin/ProjectUGroup/DynamicUGroupMembersUpdater.php Go to diff View file
A src/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdder.php +44 −0 Go to diff View file
M src/common/Project/UGroups/Membership/MemberAdder.php +1 −1 Go to diff View file
M src/www/include/account.php +1 −0 Go to diff View file
M src/www/project/admin/editugroup.php +4 −3 Go to diff View file
A tests/phpunit/Tuleap/Project/UGroups/Membership/DynamicUGroups/DynamicUGroupMembersUpdaterTest.php +362 −0 Go to diff View file
D tests/phpunit/common/Project/DynamicUGroupMembersUpdaterTest.php +0 −101 Go to diff View file
M tests/phpunit/common/Project/UGroupManagerTest.php +1 −1 Go to diff View file
M tests/phpunit/common/Project/UGroups/Membership/MemberAdderTest.php +1 −1 Go to diff View file