diff --git a/api/src/models/survey-view.test.ts b/api/src/models/survey-view.test.ts index af14bca432..36f5b9b411 100644 --- a/api/src/models/survey-view.test.ts +++ b/api/src/models/survey-view.test.ts @@ -439,10 +439,6 @@ describe('GetSurveyPurposeAndMethodologyData', () => { it('sets vantage_code_ids', () => { expect(data.vantage_code_ids).to.eql([]); }); - - it('sets surveyed_all_areas', () => { - expect(data.surveyed_all_areas).to.equal('false'); - }); }); describe('All values provided with first nations id', () => { @@ -454,7 +450,6 @@ describe('GetSurveyPurposeAndMethodologyData', () => { field_method_id: 2, ecological_season_id: 3, vantage_ids: [4, 5], - surveyed_all_areas: true, revision_count: 'count' }; @@ -482,10 +477,6 @@ describe('GetSurveyPurposeAndMethodologyData', () => { expect(data.vantage_code_ids).to.eql(obj.vantage_ids); }); - it('sets surveyed_all_areas', () => { - expect(data.surveyed_all_areas).to.eql('true'); - }); - it('sets revision_count', function () { expect(data.revision_count).to.equal('count'); }); diff --git a/api/src/paths/project/{projectId}/survey/{surveyId}/update/get.test.ts b/api/src/paths/project/{projectId}/survey/{surveyId}/update/get.test.ts index c2268e8c7f..32fe083303 100644 --- a/api/src/paths/project/{projectId}/survey/{surveyId}/update/get.test.ts +++ b/api/src/paths/project/{projectId}/survey/{surveyId}/update/get.test.ts @@ -88,8 +88,8 @@ describe('getSurveyForUpdate', () => { funding_sources: [] }, agreements: { - sedis_procedures_accepted: 'false', - foippa_requirements_accepted: 'false' + sedis_procedures_accepted: 'true', + foippa_requirements_accepted: 'true' } } }; @@ -150,8 +150,8 @@ describe('getSurveyForUpdate', () => { funding_sources: [1] }, agreements: { - sedis_procedures_accepted: 'false', - foippa_requirements_accepted: 'false' + sedis_procedures_accepted: 'true', + foippa_requirements_accepted: 'true' } } };