@ -406,8 +406,9 @@ RSpec.describe Imports::SalesLogsImportService do
it"intercepts the relevant validation error"do
expect(logger).toreceive(:warn).with(/Removing field postcode_full from log triggering validation: Buyer's last accommodation and discounted ownership postcodes must match/)
expect(logger).toreceive(:warn).with(/Removing field ppostcode_full from log triggering validation: Buyer's last accommodation and discounted ownership postcodes must match/)
expect(logger).toreceive(:warn).with(/Removing field postcode_full from log triggering validation: Last settled accommodation and discounted ownership property postcodes must match/)
expect(logger).toreceive(:warn).with(/Removing field ppostcode_full from log triggering validation: Last settled accommodation and discounted ownership property postcodes must match/)
expect(logger).toreceive(:warn).with(/Removing field postcode_full from log triggering validation: postcodes_not_matching/)
expect(logger).toreceive(:warn).with(/Removing field ppostcode_full from log triggering validation: postcodes_not_matching/)
expect(logger).toreceive(:warn).with(/Removing postcode known and previous postcode known as the postcodes are invalid/)