Skip to content

Commit

Permalink
Merge pull request #704 from yast/create_storage_test_instance
Browse files Browse the repository at this point in the history
Fix tests to use correct storage instance
  • Loading branch information
teclator committed Sep 21, 2020
2 parents 27f4ffa + a200b33 commit f5d1e6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/autoinst_clone_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
let(:multipaths) { [] }

before do
Y2Storage::StorageManager.create_test_instance
allow(Yast::Y2ModuleConfig).to receive(:ModuleMap).and_return(module_map)
allow(Y2Storage::StorageManager.instance).to receive(:probed).and_return(probed_devicegraph)
subject.additional = ["add-on"]
Expand Down

0 comments on commit f5d1e6c

Please sign in to comment.