Skip to content

Commit

Permalink
Merge pull request #514 from yast/fix_unit_test
Browse files Browse the repository at this point in the history
Fixed unit test
  • Loading branch information
lslezak committed Oct 21, 2020
2 parents 6d6a28d + 221e90d commit 2e49061
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/inst_scc_test.rb
Expand Up @@ -17,6 +17,7 @@
allow(Yast::Mode).to receive(:update).and_return(false)
allow(Yast::SlpService).to receive(:all).and_return([])
allow(Y2Packager::MediumType).to receive(:online?).and_return(false)
allow(Registration::Addon).to receive(:find_all).and_return([])
end

context "the system is already registered" do
Expand Down

0 comments on commit 2e49061

Please sign in to comment.