Browse Source

add fields to the export constants, amend the test fixtures accordingly to reflect changed expectations (#1757)

pull/1802/head v0.3.42
Arthur Campbell 1 year ago committed by GitHub
parent
commit
99a4e91824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/services/exports/lettings_log_export_constants.rb
  2. 2
      spec/fixtures/exports/general_needs_log.xml
  3. 2
      spec/fixtures/exports/general_needs_log_23_24.xml
  4. 2
      spec/fixtures/exports/supported_housing_logs.xml

2
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",

2
spec/fixtures/exports/general_needs_log.xml vendored

@ -142,6 +142,8 @@
<address_line2/>
<town_or_city>London</town_or_city>
<county/>
<discarded_at/>
<creation_method>1</creation_method>
<formid>{id}</formid>
<owningorgid>{owning_org_id}</owningorgid>
<owningorgname>DLUHC</owningorgname>

2
spec/fixtures/exports/general_needs_log_23_24.xml vendored

@ -143,6 +143,8 @@
<address_line2/>
<town_or_city>London</town_or_city>
<county/>
<discarded_at/>
<creation_method>1</creation_method>
<formid>{id}</formid>
<owningorgid>{owning_org_id}</owningorgid>
<owningorgname>DLUHC</owningorgname>

2
spec/fixtures/exports/supported_housing_logs.xml vendored

@ -141,6 +141,8 @@
<address_line2/>
<town_or_city/>
<county/>
<discarded_at/>
<creation_method>1</creation_method>
<formid>{id}</formid>
<owningorgid>{owning_org_id}</owningorgid>
<owningorgname>DLUHC</owningorgname>

Loading…
Cancel
Save