Skip to content

Commit 59361ab

Browse files
committed
Fix tests
1 parent 8fb9da0 commit 59361ab

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

packages/twenty-front/src/modules/object-record/record-field/hooks/__tests__/useToggleEditOnlyInput.test.tsx

+27-27
Original file line numberDiff line numberDiff line change
@@ -26,35 +26,13 @@ const mocks: MockedResponse[] = [
2626
) {
2727
updateCompany(id: $idToUpdate, data: $input) {
2828
__typename
29-
id
30-
visaSponsorship
31-
createdBy {
32-
source
33-
workspaceMemberId
34-
name
35-
}
29+
updatedAt
3630
domainName {
3731
primaryLinkUrl
3832
primaryLinkLabel
3933
secondaryLinks
4034
}
41-
introVideo {
42-
primaryLinkUrl
43-
primaryLinkLabel
44-
secondaryLinks
45-
}
46-
position
47-
annualRecurringRevenue {
48-
amountMicros
49-
currencyCode
50-
}
51-
employees
52-
linkedinLink {
53-
primaryLinkUrl
54-
primaryLinkLabel
55-
secondaryLinks
56-
}
57-
workPolicy
35+
visaSponsorship
5836
address {
5937
addressStreet1
6038
addressStreet2
@@ -65,16 +43,38 @@ const mocks: MockedResponse[] = [
6543
addressLat
6644
addressLng
6745
}
46+
position
47+
employees
48+
deletedAt
49+
accountOwnerId
50+
annualRecurringRevenue {
51+
amountMicros
52+
currencyCode
53+
}
54+
id
6855
name
69-
updatedAt
7056
xLink {
7157
primaryLinkUrl
7258
primaryLinkLabel
7359
secondaryLinks
7460
}
75-
myCustomField
7661
createdAt
77-
accountOwnerId
62+
createdBy {
63+
source
64+
workspaceMemberId
65+
name
66+
}
67+
workPolicy
68+
introVideo {
69+
primaryLinkUrl
70+
primaryLinkLabel
71+
secondaryLinks
72+
}
73+
linkedinLink {
74+
primaryLinkUrl
75+
primaryLinkLabel
76+
secondaryLinks
77+
}
7878
tagline
7979
idealCustomerProfile
8080
}

0 commit comments

Comments
 (0)