Skip to content

Commit

Permalink
Merge pull request #733 from yast/fix_popup3
Browse files Browse the repository at this point in the history
big mock of report
  • Loading branch information
jreidinger committed Feb 18, 2021
2 parents 3dd44e6 + 01c0899 commit e3bca9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
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 e3bca9d

Please sign in to comment.