@ -729,11 +729,11 @@ RSpec.describe Imports::LettingsLogsImportService do
end
end
it"intercepts the relevant validation error"do
it"intercepts the relevant validation error"do
expect(logger).toreceive(:warn).with(/Removing brent with error: Enter a total charge that is at least £10 per week/)
expect(logger).toreceive(:warn).with("Log 0ead17cb-1668-442d-898c-0d52879ff592: Removing brent with error: Enter a total charge that is at least £10.00 per week")
expect(logger).toreceive(:warn).with(/Removing scharge with error: Enter a total charge that is at least £10 per week/)
expect(logger).toreceive(:warn).with("Log 0ead17cb-1668-442d-898c-0d52879ff592: Removing scharge with error: Enter a total charge that is at least £10.00 per week")
expect(logger).toreceive(:warn).with(/Removing pscharge with error: Enter a total charge that is at least £10 per week/)
expect(logger).toreceive(:warn).with("Log 0ead17cb-1668-442d-898c-0d52879ff592: Removing pscharge with error: Enter a total charge that is at least £10.00 per week")
expect(logger).toreceive(:warn).with(/Removing supcharg with error: Enter a total charge that is at least £10 per week/)
expect(logger).toreceive(:warn).with("Log 0ead17cb-1668-442d-898c-0d52879ff592: Removing supcharg with error: Enter a total charge that is at least £10.00 per week")
expect(logger).toreceive(:warn).with(/Removing tcharge with error: Enter a total charge that is at least £10 per week/)
expect(logger).toreceive(:warn).with("Log 0ead17cb-1668-442d-898c-0d52879ff592: Removing tcharge with error: Enter a total charge that is at least £10.00 per week")