Phase 1C: Frontend unified contact UI
This commit is contained in:
@@ -428,12 +428,12 @@ async def test_ac14_link_entry(calendar_authed_client):
|
||||
company_id = str(seed["company_a"].id)
|
||||
resp = await client.post(
|
||||
f"/api/v1/calendar/entries/{entry_id}/link",
|
||||
json={"entity_type": "company", "entity_id": company_id},
|
||||
json={"entity_type": "contact", "entity_id": company_id},
|
||||
headers=ORIGIN_HEADER,
|
||||
)
|
||||
assert resp.status_code == 200
|
||||
data = resp.json()
|
||||
assert data["entity_type"] == "company"
|
||||
assert data["entity_type"] == "contact"
|
||||
assert data["entity_id"] == company_id
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user