@@ -70,7 +70,9 @@ describe("company-profile", () => {
7070 overdue : true
7171 } ,
7272 confirmation_statement : {
73+ last_made_up_to : "2018-08-24" ,
7374 next_due : "2019-08-24" ,
75+ next_made_up_to : "2019-07-20" ,
7476 overdue : true
7577 } ,
7678 links : {
@@ -113,7 +115,9 @@ describe("company-profile", () => {
113115 expect ( data . resource . accounts . nextAccounts . periodStartOn ) . to . equal ( mockResponseBody . accounts . next_accounts . period_start_on ) ;
114116 expect ( data . resource . accounts . nextDue ) . to . equal ( mockResponseBody . accounts . next_due ) ;
115117 expect ( data . resource . accounts . overdue ) . to . equal ( mockResponseBody . accounts . overdue ) ;
118+ expect ( data . resource . confirmationStatement . lastMadeUpTo ) . to . equal ( mockResponseBody . confirmation_statement . last_made_up_to ) ;
116119 expect ( data . resource . confirmationStatement . nextDue ) . to . equal ( mockResponseBody . confirmation_statement . next_due ) ;
120+ expect ( data . resource . confirmationStatement . nextMadeUpTo ) . to . equal ( mockResponseBody . confirmation_statement . next_made_up_to ) ;
117121 expect ( data . resource . confirmationStatement . overdue ) . to . equal ( mockResponseBody . confirmation_statement . overdue ) ;
118122 expect ( data . resource . links . filingHistory ) . to . equal ( mockResponseBody . links . filing_history ) ;
119123 } ) ;
@@ -171,7 +175,9 @@ describe("company-profile", () => {
171175 expect ( data . resource . accounts . nextAccounts . periodStartOn ) . to . be . undefined ;
172176 expect ( data . resource . accounts . nextDue ) . to . be . undefined ;
173177 expect ( data . resource . accounts . overdue ) . to . be . undefined ;
178+ expect ( data . resource . confirmationStatement . lastMadeUpTo ) . to . be . undefined ;
174179 expect ( data . resource . confirmationStatement . nextDue ) . to . be . undefined ;
180+ expect ( data . resource . confirmationStatement . nextMadeUpTo ) . to . be . undefined ;
175181 expect ( data . resource . confirmationStatement . overdue ) . to . be . undefined ;
176182 expect ( data . resource . links . filingHistory ) . to . be . undefined ;
177183 expect ( data . resource . hasSuperSecurePscs ) . to . be . undefined ;
0 commit comments