stable
Clone or download
Read-only
Part of story #13490 have a consistent management of project & groups members No functional change expected, this extracts the "refresh" logic out of UGroupBinding into two dedicated objects. They are easier to test and to use. Change-Id: Ie2790146a139ba3f0be8c272d04c9b291265d0b5
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/UGroupBinding.class.php | +15 | −51 | Go to diff View file |
A | src/common/Project/UGroups/Binding/BoundUGroupRefresher.php | +86 | −0 | Go to diff View file |
A | src/common/Project/UGroups/Binding/RecursiveBoundUGroupsRefresher.php | +53 | −0 | Go to diff View file |
M | tests/phpunit/common/Project/UGroupBindingTest.php | +0 | −148 | Go to diff View file |
A | tests/phpunit/common/Project/UGroups/Binding/BoundUGroupRefresherTest.php | +97 | −0 | Go to diff View file |
A | tests/phpunit/common/Project/UGroups/Binding/RecursiveBoundUGroupsRefresherTest.php | +106 | −0 | Go to diff View file |