stable

Clone or download

Read-only

Extract list of user in a dedicated object and unit test it

part of request #14007 tracker fields list bound to custom user groups does not take user status in account The retievement of user in custom ugroups do not filter users by status (A|D) (case ugroup_101). Before updating `ugroup_db_get_members` I'm adding tests here to help us understand how user retrievement works. Change-Id: I1ee7ee4aa3e00933a0051b580ceddacf771b695e

Modified Files

Name
A plugins/tracker/include/Tracker/FormElement/Field/ListFields/Bind/BindListUserValueGetter.php +226 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Users.class.php +5 −131 Go to diff View file
A plugins/tracker/phpunit/Tracker/FormElement/Field/ListFields/Bind/BindListUserValueGetterTest.php +413 −0 Go to diff View file