|
|
|
@ -208,9 +208,11 @@ RSpec.describe Exports::LettingsLogExportService do
|
|
|
|
|
expect(storage_service).to receive(:write_file).with(expected_zip_filename2, any_args) |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Building export run for 2021") |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Creating core_2021_2022_apr_mar_f0001_inc0001 - 1 logs") |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Added core_2021_2022_apr_mar_f0001_inc0001_pt001.xml") |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Writing core_2021_2022_apr_mar_f0001_inc0001.zip") |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Building export run for 2022") |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Creating core_2022_2023_apr_mar_f0001_inc0001 - 1 logs") |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Added core_2022_2023_apr_mar_f0001_inc0001_pt001.xml") |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Writing core_2022_2023_apr_mar_f0001_inc0001.zip") |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Building export run for 2023") |
|
|
|
|
expect(Rails.logger).to receive(:info).with("Creating core_2023_2024_apr_mar_f0001_inc0001 - 0 logs") |
|
|
|
|