From 2369eefd0c4f9e43604e6c096490e62aa3bfe666 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Tue, 15 Aug 2023 14:09:09 +0100 Subject: [PATCH] Fix tests after rebase (#1839) --- spec/lib/tasks/full_import_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/tasks/full_import_spec.rb b/spec/lib/tasks/full_import_spec.rb index 9d530ef6c..0b8d3bd9a 100644 --- a/spec/lib/tasks/full_import_spec.rb +++ b/spec/lib/tasks/full_import_spec.rb @@ -78,7 +78,7 @@ describe "full import", type: :task do end it "creates a report using given organisation csv" do - expect(Storage::S3Service).to receive(:new).with(paas_config_service, instance_name) + expect(Storage::S3Service).to receive(:new).with(env_config_service, instance_name) expect(storage_service).to receive(:write_file).with("some_name_1_initial.log", / INFO -- : Performing initial imports for organisation org1/) expect(storage_service).to receive(:write_file).with("some_name_2_initial.log", / INFO -- : Performing initial imports for organisation org2/) @@ -107,7 +107,7 @@ describe "full import", type: :task do end it "creates a report using given organisation csv" do - expect(Storage::S3Service).to receive(:new).with(paas_config_service, instance_name) + expect(Storage::S3Service).to receive(:new).with(env_config_service, instance_name) expect(storage_service).to receive(:write_file).with("some_name_1_logs.log", / INFO -- : Importing logs for organisation org1, expecting 0 logs/) expect(storage_service).to receive(:write_file).with("some_name_2_logs.log", / INFO -- : Importing logs for organisation org2, expecting 0 logs/)