00267655abfcd3d6eda5ad3327b946592bd593e2
b0cd8779a7
Author: Daniël Franke <df@ponc.tech> Date: Thu Jan 12 17:25:43 2023 +0100 Consistently add user attributes to AddRequest (#5392) To make the `CreateUser` flow easier to test, the attributes of the LDAP add request need to be added consistently. This way we can expect that argument with the mock. This PR does the following: * Add a method `getUserAttrTypes` that returns a static list of attr names. * Alter `userToAddRequest` to iterate over the static list, and add the attr if it exists in the `attrMap`. Closes #5390
Description
No description provided
957 MiB
0 Stars
1 Watchers
0 Forks
Languages
Go
32.7%
TypeScript
24.3%
Gherkin
23.9%
Vue
8.5%
PHP
8.1%
Other
2.3%