forked from sr2/cloud-api
feat: get org response mirrors get user orgs structure
This commit is contained in:
parent
939abaefe9
commit
3b82025abb
5 changed files with 52 additions and 46 deletions
|
|
@ -40,4 +40,4 @@ async def test_get_org_auth_root_su(default_client: AsyncClient, db_session):
|
|||
resp = await default_client.get("/org?org_id=2")
|
||||
assert resp.status_code != 422
|
||||
assert resp.status_code == 200
|
||||
assert resp.json()["name"] == "Test Org Two"
|
||||
assert resp.json()["organisations"][0]["name"] == "Test Org Two"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue