Browse Source

handle soctenant for sales bulk upload 2023

pull/1603/head
Phil Lee 2 years ago
parent
commit
c5e91c3b43
  1. 2
      app/services/bulk_upload/sales/year2023/row_parser.rb
  2. 8
      spec/services/bulk_upload/sales/year2023/row_parser_spec.rb

2
app/services/bulk_upload/sales/year2023/row_parser.rb

@ -774,6 +774,8 @@ private
attributes["staircasesale"] = field_90
attributes["soctenant"] = field_99
attributes
end

8
spec/services/bulk_upload/sales/year2023/row_parser_spec.rb

@ -691,5 +691,13 @@ RSpec.describe BulkUpload::Sales::Year2023::RowParser do
expect(parser.log.staircasesale).to be(1)
end
end
describe "#soctenant" do
let(:attributes) { setup_section_params.merge({ field_99: "1" }) }
it "is correctly set" do
expect(parser.log.soctenant).to be(1)
end
end
end
end

Loading…
Cancel
Save