Skip to content

Commit

Permalink
big mock of report
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Feb 18, 2021
1 parent 3dd44e6 commit 01c0899
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_helper.rb
Expand Up @@ -105,5 +105,9 @@ def reset_singleton(klass)

c.before do
allow(Y2Packager::MediumType).to receive(:detect_medium_type).and_return(:standard)
# FIXME: temporary mock to avoid interdependencies failures
allow(Yast::Report).to receive(:Error)
allow(Yast::Report).to receive(:Warning)
allow(Yast::Report).to receive(:Message)
end
end

0 comments on commit 01c0899

Please sign in to comment.