@@ -102,7 +102,6 @@ const testSubmission: HousingProject = {
102102 companyIdRegistered : 'FM0281610' ,
103103 companyNameRegistered : 'Example Company' ,
104104 consentToFeedback : true ,
105- isDevelopedInBc : 'Yes' ,
106105 projectName : 'Project Alpha' ,
107106 projectDescription : 'This is a test project description.' ,
108107 projectLocationDescription : 'Test location description.' ,
@@ -313,7 +312,7 @@ describe('onRegisteredNameInput', () => {
313312 } ) ;
314313
315314 it ( 'should not call searchOrgBook when query length is less than 2' , async ( ) => {
316- const modifiedSubmission = { ...testSubmission , isDevelopedInBc : 'Yes' } ;
315+ const modifiedSubmission = { ...testSubmission } ;
317316 const wrapper = mount ( ProjectForm , wrapperSettings ( modifiedSubmission ) ) ;
318317 await nextTick ( ) ;
319318 await nextTick ( ) ;
@@ -341,7 +340,7 @@ describe('onRegisteredNameInput', () => {
341340
342341 searchOrgBookSpy . mockResolvedValue ( mockResponse as AxiosResponse ) ;
343342
344- const modifiedSubmission = { ...testSubmission , isDevelopedInBc : 'Yes' } ;
343+ const modifiedSubmission = { ...testSubmission } ;
345344 const wrapper = mount ( ProjectForm , wrapperSettings ( modifiedSubmission ) ) ;
346345 await nextTick ( ) ;
347346 await nextTick ( ) ;
@@ -372,7 +371,7 @@ describe('onRegisteredNameInput', () => {
372371
373372 searchOrgBookSpy . mockResolvedValue ( mockResponse as AxiosResponse ) ;
374373
375- const modifiedSubmission = { ...testSubmission , isDevelopedInBc : 'Yes' } ;
374+ const modifiedSubmission = { ...testSubmission } ;
376375 const wrapper = mount ( ProjectForm , wrapperSettings ( modifiedSubmission ) ) ;
377376 await nextTick ( ) ;
378377 await nextTick ( ) ;
@@ -408,7 +407,7 @@ describe('onRegisteredNameInput', () => {
408407
409408 searchOrgBookSpy . mockResolvedValue ( mockResponse as AxiosResponse ) ;
410409
411- const modifiedSubmission = { ...testSubmission , isDevelopedInBc : 'Yes' } ;
410+ const modifiedSubmission = { ...testSubmission } ;
412411 const wrapper = mount ( ProjectForm , wrapperSettings ( modifiedSubmission ) ) ;
413412 await nextTick ( ) ;
414413 await nextTick ( ) ;
@@ -433,7 +432,7 @@ describe('onRegisteredNameInput', () => {
433432
434433 searchOrgBookSpy . mockResolvedValue ( mockResponse as AxiosResponse ) ;
435434
436- const modifiedSubmission = { ...testSubmission , isDevelopedInBc : 'Yes' } ;
435+ const modifiedSubmission = { ...testSubmission } ;
437436 const wrapper = mount ( ProjectForm , wrapperSettings ( modifiedSubmission ) ) ;
438437 await nextTick ( ) ;
439438 await nextTick ( ) ;
@@ -463,7 +462,7 @@ describe('onRegisteredNameInput', () => {
463462
464463 searchOrgBookSpy . mockResolvedValue ( mockResponse as AxiosResponse ) ;
465464
466- const modifiedSubmission = { ...testSubmission , isDevelopedInBc : 'Yes' } ;
465+ const modifiedSubmission = { ...testSubmission } ;
467466 const wrapper = mount ( ProjectForm , wrapperSettings ( modifiedSubmission ) ) ;
468467 await nextTick ( ) ;
469468 await nextTick ( ) ;
@@ -490,7 +489,7 @@ describe('onRegisteredNameInput', () => {
490489
491490 searchOrgBookSpy . mockResolvedValue ( mockResponse as AxiosResponse ) ;
492491
493- const modifiedSubmission = { ...testSubmission , isDevelopedInBc : 'Yes' } ;
492+ const modifiedSubmission = { ...testSubmission } ;
494493 const wrapper = mount ( ProjectForm , wrapperSettings ( modifiedSubmission ) ) ;
495494 await nextTick ( ) ;
496495 await nextTick ( ) ;
0 commit comments