[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
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
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',
|
||||
};
|
||||
Reference in New Issue
Block a user