Commit c8fc03c1 authored by Jo Sama's avatar Jo Sama 😱
Browse files

RoleAndCompany, not RolesAndCompanies

parent b4c5f185
Pipeline #47791 failed with stage
in 2 minutes and 21 seconds
......@@ -34,7 +34,7 @@ def test_bruker(bruker_data):
assert hasattr(bruker.user_status, "status")
assert hasattr(, "disabled_until")
assert hasattr(bruker.usage, "is_enabled_for_workflow_process")
assert bruker.roles_and_companies
assert bruker.role_and_company
assert bruker.contact_points
......@@ -599,7 +599,7 @@ class Bruker(BaseModel):
language_code: typing.Optional[str]
usage: typing.Optional[Usage]
contact_points: typing.Optional[typing.List[ContactPoint]]
roles_and_companies: typing.Optional[typing.List[RoleAndCompany]]
role_and_company: typing.Optional[typing.List[RoleAndCompany]]
class Config:
alias_generator = to_lower_camel
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment