Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed May 25, 2021
1 parent 1805c30 commit 6585e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/inst_scc_test.rb
Expand Up @@ -19,7 +19,7 @@
allow(Y2Packager::MediumType).to receive(:online?).and_return(false)
allow(subject).to receive(:init_registration)
allow(Registration::Addon).to receive(:find_all).and_return([])
allow(::Installation::InstallationInfo.instance).to receive(:add).with("registration")
allow(::Installation::InstallationInfo.instance).to receive(:add_callback).with("registration")
end

context "the system is already registered" do
Expand Down

0 comments on commit 6585e15

Please sign in to comment.