From 17047f4c73dc1bda7689c46ad7ccc9333d8afa7c Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Thu, 16 Mar 2023 09:53:03 +0000 Subject: [PATCH] add missing fields to bulk upload support --- spec/support/bulk_upload/log_to_csv.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/support/bulk_upload/log_to_csv.rb b/spec/support/bulk_upload/log_to_csv.rb index 130494d0f..86167376d 100644 --- a/spec/support/bulk_upload/log_to_csv.rb +++ b/spec/support/bulk_upload/log_to_csv.rb @@ -27,8 +27,8 @@ class BulkUpload::LogToCsv def to_2023_row to_2022_row + [ - nil, # needstype, - nil, # location, + log.needstype, + log.location&.id, nil, # uprn, nil, # address_line_1, nil, # address_line_2,