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: 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/)