Skip to content

Commit

Permalink
try to fix ruby tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Dec 19, 2024
1 parent 4398045 commit c755042
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/test/agama/storage/manager_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c755042

Please sign in to comment.