mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-15 05:41:20 -04:00
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