Files
twenty/packages/twenty-server/test/integration/constants/initial-person-data.constants.ts
P A C · 先生 5be22413c9 [3/n]: Migrate the PUT rest/* and PATCH rest/* to use TwentyORM (#10002)
# This PR

- Is addressing #3644 
- Migrates the PUT and PATCH rest/* endpoints to use twentyORM directly
- Adds integration tests
2025-02-04 17:25:02 +01:00

17 lines
401 B
TypeScript

import { PERSON_2_ID } from 'test/integration/constants/mock-person-ids.constants';
export const INITIAL_PERSON_DATA = {
id: PERSON_2_ID,
name: {
firstName: 'Testing',
lastName: 'User',
},
emails: {
primaryEmail: 'test8@user.com',
additionalEmails: ['user8@example.com'],
},
city: 'New York',
jobTitle: 'Manager',
companyId: '20202020-0713-40a5-8216-82802401d33e',
};