Skip to content

Commit

Permalink
Fixed a test failure in RPM build
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Mar 8, 2021
1 parent e5ffce1 commit 4b732ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
require "yast"

require "cwm"
require "installation/console/menu_plugin"

module Installation
module Console
Expand Down
10 changes: 10 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,13 @@ def stub_module(name)
]
end
end

# mock empty class to avoid build dependency on yast2-installation
module Installation
module Console
module Plugins
class MenuPlugin
end
end
end
end

0 comments on commit 4b732ca

Please sign in to comment.