diff --git a/service/test/agama/storage/manager_test.rb b/service/test/agama/storage/manager_test.rb index ed357566b..4b8b665d8 100644 --- a/service/test/agama/storage/manager_test.rb +++ b/service/test/agama/storage/manager_test.rb @@ -55,6 +55,8 @@ allow(Agama::DBus::Clients::Software).to receive(:instance).and_return(software) allow(Bootloader::FinishClient).to receive(:new).and_return(bootloader_finish) allow(Agama::Security).to receive(:new).and_return(security) + # mock writting config as proposal call can do storage probing, which fails in CI + allow_any_instance_of(Agama::Storage::Bootloader).to receive(:write_config) allow(Agama::HTTP::Clients::Scripts).to receive(:new).and_return(scripts_client) allow(Yast::Installation).to receive(:destdir).and_return(File.join(tmp_dir, "mnt")) stub_const("Agama::Storage::Finisher::CopyLogsStep::SCRIPTS_DIR",