@@ -48,6 +48,7 @@ export const LIMITED_PARTNERSHIP_OBJECT_MOCK: LimitedPartnership = {
4848} ;
4949
5050export const GENERAL_PARTNER_OBJECT_MOCK : GeneralPartner = {
51+ id : "123456" ,
5152 data : {
5253 date_effective_from : "2005-02-04" ,
5354 date_of_birth : "2000-05-01" ,
@@ -95,7 +96,7 @@ export const GENERAL_PARTNER_OBJECT_MOCK: GeneralPartner = {
9596 postal_code : "SC15 1N2"
9697 }
9798 }
98- }
99+ } ;
99100
100101// This structure is used when POSTing Incorporation data
101102export const INCORPORATION_OBJECT_MOCK : Incorporation = {
@@ -106,20 +107,22 @@ export const INCORPORATION_OBJECT_MOCK: Incorporation = {
106107
107108// These structures represent responses from GETing Incorporation data:
108109
109- export const LIMITED_PARTNERSHIP_INCORPORATION_OBJECT_MOCK : LimitedPartnershipIncorporation = {
110- etag : "" ,
111- kind : ""
112- } ;
110+ export const LIMITED_PARTNERSHIP_INCORPORATION_OBJECT_MOCK : LimitedPartnershipIncorporation =
111+ {
112+ etag : "" ,
113+ kind : ""
114+ } ;
113115
114- export const LIMITED_PARTNERSHIP_INCORPORATION_OBJECT_MOCK_WITH_SUB : LimitedPartnershipIncorporation = {
115- etag : "" ,
116- kind : "" ,
117- sub_resources : {
118- general_partners : [ ] ,
119- limited_partners : [ ] ,
120- partnership : LIMITED_PARTNERSHIP_OBJECT_MOCK
121- }
122- } ;
116+ export const LIMITED_PARTNERSHIP_INCORPORATION_OBJECT_MOCK_WITH_SUB : LimitedPartnershipIncorporation =
117+ {
118+ etag : "" ,
119+ kind : "" ,
120+ sub_resources : {
121+ general_partners : [ ] ,
122+ limited_partners : [ ] ,
123+ partnership : LIMITED_PARTNERSHIP_OBJECT_MOCK
124+ }
125+ } ;
123126
124127export const TRANSACTION_ID = "12345" ;
125128export const SUBMISSION_ID = "09876" ;
@@ -161,8 +164,11 @@ export const mockGetLimitedPartnershipIncorporationResponse = {
161164} ;
162165
163166export const mockGetLimitedPartnershipIncorporationResponseWithSub = {
164- 200 : { status : 200 , body : LIMITED_PARTNERSHIP_INCORPORATION_OBJECT_MOCK_WITH_SUB }
165- }
167+ 200 : {
168+ status : 200 ,
169+ body : LIMITED_PARTNERSHIP_INCORPORATION_OBJECT_MOCK_WITH_SUB
170+ }
171+ } ;
166172
167173export const mockPostGeneralPartnerResponse = {
168174 201 : { status : 201 , body : mockLimitedPartnershipCreatedResource } ,
0 commit comments