You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests creating a user without the authority property but I couldn't find a test case in which authority is used during POST.
There should be tests for data of the form:
{"username": "[email protected]", "authority": {"active_roles": ["ADMIN"]}}
This is a common case implemented by clients in the past.
{"username": "[email protected]", "authority": {"active_roles": []}}
This pattern is being added to a client. The server behavior needs to be equivalent to omitting the authority property.
{"username": "[email protected]", "authority": {"active_roles": ["NOT_A_ROLE"]}}
This must fail because NOT_A_ROLE is not in the enum.
This data passes through custom middleware and the behavior needs to stay the same even if the middleware implementation is changed:
cve-services/test-http/src/test/org_user_tests/org.py
Lines 653 to 659 in d4b214b
tests creating a user without the
authority
property but I couldn't find a test case in whichauthority
is used during POST.There should be tests for data of the form:
This data passes through custom middleware and the behavior needs to stay the same even if the middleware implementation is changed:
cve-services/src/controller/org.controller/index.js
Lines 559 to 563 in d4b214b
The text was updated successfully, but these errors were encountered: