From 99a4e9182450896bb682346f87e00b26fd7b5281 Mon Sep 17 00:00:00 2001 From: Arthur Campbell <51094020+arfacamble@users.noreply.github.com> Date: Tue, 25 Jul 2023 10:04:14 +0100 Subject: [PATCH] add fields to the export constants, amend the test fixtures accordingly to reflect changed expectations (#1757) --- app/services/exports/lettings_log_export_constants.rb | 2 ++ spec/fixtures/exports/general_needs_log.xml | 2 ++ spec/fixtures/exports/general_needs_log_23_24.xml | 2 ++ spec/fixtures/exports/supported_housing_logs.xml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/app/services/exports/lettings_log_export_constants.rb b/app/services/exports/lettings_log_export_constants.rb index 45a874828..e8f92753e 100644 --- a/app/services/exports/lettings_log_export_constants.rb +++ b/app/services/exports/lettings_log_export_constants.rb @@ -20,7 +20,9 @@ module Exports::LettingsLogExportConstants "cligrp1", "cligrp2", "createddate", # New metadata coming from our system + "creation_method", "confidential", + "discarded_at", "earnings", "ethnic", "formid", diff --git a/spec/fixtures/exports/general_needs_log.xml b/spec/fixtures/exports/general_needs_log.xml index a1dc98491..9c96d783c 100644 --- a/spec/fixtures/exports/general_needs_log.xml +++ b/spec/fixtures/exports/general_needs_log.xml @@ -142,6 +142,8 @@ London + + 1 {id} {owning_org_id} DLUHC diff --git a/spec/fixtures/exports/general_needs_log_23_24.xml b/spec/fixtures/exports/general_needs_log_23_24.xml index 91f18f8e4..bbb67937e 100644 --- a/spec/fixtures/exports/general_needs_log_23_24.xml +++ b/spec/fixtures/exports/general_needs_log_23_24.xml @@ -143,6 +143,8 @@ London + + 1 {id} {owning_org_id} DLUHC diff --git a/spec/fixtures/exports/supported_housing_logs.xml b/spec/fixtures/exports/supported_housing_logs.xml index 8f728d1de..43731aaea 100644 --- a/spec/fixtures/exports/supported_housing_logs.xml +++ b/spec/fixtures/exports/supported_housing_logs.xml @@ -141,6 +141,8 @@ + + 1 {id} {owning_org_id} DLUHC