@@ -56,6 +56,7 @@ const mockResponseBody : CertificateItemResource = ({
5656 } ,
5757 include_company_objects_information : true ,
5858 include_email_copy : true ,
59+ include_general_nature_of_business_information : true ,
5960 include_good_standing_information : true ,
6061 limited_partner_details : {
6162 include_basic_information : true
@@ -126,6 +127,7 @@ const mockResponseBodyMissingFields : CertificateItemResource = ({
126127 general_partner_details : undefined ,
127128 include_company_objects_information : true ,
128129 include_email_copy : true ,
130+ include_general_nature_of_business_information : true ,
129131 include_good_standing_information : true ,
130132 limited_partner_details : undefined ,
131133 member_details : undefined ,
@@ -236,6 +238,7 @@ describe("order a certificate GET", () => {
236238 expect ( resourceItemOptions . forename ) . to . equal ( mockItemOptions . forename ) ;
237239 expect ( resourceItemOptions . includeCompanyObjectsInformation ) . to . equal ( mockItemOptions . include_company_objects_information ) ;
238240 expect ( resourceItemOptions . includeEmailCopy ) . to . equal ( mockItemOptions . include_email_copy ) ;
241+ expect ( resourceItemOptions . includeGeneralNatureOfBusinessInformation ) . to . equal ( mockItemOptions . include_general_nature_of_business_information ) ;
239242 expect ( resourceItemOptions . includeGoodStandingInformation ) . to . equal ( mockItemOptions . include_good_standing_information ) ;
240243 expect ( resourceLimitedPartnerDetails . includeBasicInformation ) . to . equal ( mockLimitedPartnerDetails . include_basic_information ) ;
241244 expect ( resourceMemberDetails . includeAddress ) . to . equal ( mockMemberDetails . include_address ) ;
@@ -317,6 +320,7 @@ describe("order a certificate GET", () => {
317320 expect ( resourceItemOptions . forename ) . to . equal ( mockItemOptions . forename ) ;
318321 expect ( resourceItemOptions . includeCompanyObjectsInformation ) . to . equal ( mockItemOptions . include_company_objects_information ) ;
319322 expect ( resourceItemOptions . includeEmailCopy ) . to . equal ( mockItemOptions . include_email_copy ) ;
323+ expect ( resourceItemOptions . includeGeneralNatureOfBusinessInformation ) . to . equal ( mockItemOptions . include_general_nature_of_business_information ) ;
320324 expect ( resourceItemOptions . includeGoodStandingInformation ) . to . equal ( mockItemOptions . include_good_standing_information ) ;
321325 expect ( resourceLimitedPartnerDetails ) . to . be . undefined ;
322326 expect ( resourceMemberDetails ) . to . be . undefined ;
@@ -372,6 +376,7 @@ describe("create a certificate POST", () => {
372376 } ,
373377 includeCompanyObjectsInformation : true ,
374378 includeEmailCopy : true ,
379+ includeGeneralNatureOfBusinessInformation : true ,
375380 includeGoodStandingInformation : true ,
376381 limitedPartnerDetails : {
377382 includeBasicInformation : true
@@ -467,6 +472,7 @@ describe("create a certificate POST", () => {
467472 expect ( io . generalPartnerDetails . includeBasicInformation ) . to . equal ( mockIo . general_partner_details . include_basic_information ) ;
468473 expect ( io . includeCompanyObjectsInformation ) . to . equal ( mockIo . include_company_objects_information ) ;
469474 expect ( io . includeEmailCopy ) . to . equal ( mockIo . include_email_copy ) ;
475+ expect ( io . includeGeneralNatureOfBusinessInformation ) . to . equal ( mockIo . include_general_nature_of_business_information ) ;
470476 expect ( io . includeGoodStandingInformation ) . to . equal ( mockIo . include_good_standing_information ) ;
471477 expect ( io . limitedPartnerDetails . includeBasicInformation ) . to . equal ( mockIo . limited_partner_details . include_basic_information ) ;
472478 expect ( io . memberDetails . includeAddress ) . to . equal ( mockIo . member_details . include_address ) ;
@@ -513,6 +519,7 @@ describe("create a certificate POST", () => {
513519 expect ( io . forename ) . to . equal ( mockIo . forename ) ;
514520 expect ( io . includeCompanyObjectsInformation ) . to . equal ( mockIo . include_company_objects_information ) ;
515521 expect ( io . includeEmailCopy ) . to . equal ( mockIo . include_email_copy ) ;
522+ expect ( io . includeGeneralNatureOfBusinessInformation ) . to . equal ( mockIo . include_general_nature_of_business_information ) ;
516523 expect ( io . includeGoodStandingInformation ) . to . equal ( mockIo . include_good_standing_information ) ;
517524 expect ( io . registeredOfficeAddressDetails ) . to . be . undefined ;
518525 expect ( io . secretaryDetails ) . to . be . undefined ;
@@ -554,6 +561,7 @@ describe("update a certificate PATCH", () => {
554561 } ,
555562 includeCompanyObjectsInformation : true ,
556563 includeEmailCopy : true ,
564+ includeGeneralNatureOfBusinessInformation : true ,
557565 includeGoodStandingInformation : true ,
558566 limitedPartnerDetails : {
559567 includeBasicInformation : true
@@ -649,6 +657,7 @@ describe("update a certificate PATCH", () => {
649657 expect ( io . generalPartnerDetails . includeBasicInformation ) . to . equal ( mockIo . general_partner_details . include_basic_information ) ;
650658 expect ( io . includeCompanyObjectsInformation ) . to . equal ( mockIo . include_company_objects_information ) ;
651659 expect ( io . includeEmailCopy ) . to . equal ( mockIo . include_email_copy ) ;
660+ expect ( io . includeGeneralNatureOfBusinessInformation ) . to . equal ( mockIo . include_general_nature_of_business_information ) ;
652661 expect ( io . includeGoodStandingInformation ) . to . equal ( mockIo . include_good_standing_information ) ;
653662 expect ( io . limitedPartnerDetails . includeBasicInformation ) . to . equal ( mockIo . limited_partner_details . include_basic_information ) ;
654663 expect ( io . memberDetails . includeAddress ) . to . equal ( mockIo . member_details . include_address ) ;
@@ -695,6 +704,7 @@ describe("update a certificate PATCH", () => {
695704 expect ( io . forename ) . to . equal ( mockIo . forename ) ;
696705 expect ( io . includeCompanyObjectsInformation ) . to . equal ( mockIo . include_company_objects_information ) ;
697706 expect ( io . includeEmailCopy ) . to . equal ( mockIo . include_email_copy ) ;
707+ expect ( io . includeGeneralNatureOfBusinessInformation ) . to . equal ( mockIo . include_general_nature_of_business_information ) ;
698708 expect ( io . includeGoodStandingInformation ) . to . equal ( mockIo . include_good_standing_information ) ;
699709 expect ( io . registeredOfficeAddressDetails ) . to . be . undefined ;
700710 expect ( io . secretaryDetails ) . to . be . undefined ;
0 commit comments