Skip to content

Commit

Permalink
Fixed testsuite
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Sep 16, 2022
1 parent 3ca567e commit f05cf2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/routines_test.rb
Expand Up @@ -7,11 +7,11 @@
before(:each) do
# deep in HttpServer module is buried code which builds list of modules
# and it uses Package module to query available packages
Yast.import "Package"
Yast.import "HttpServerPackages"
Yast.import "HttpServer"

allow(Yast::Package)
.to receive(:by_pattern)
allow(Yast::HttpServerPackages)
.to receive(:by_provides_regexp)
.and_return(["php8"])
end

Expand Down

0 comments on commit f05cf2c

Please sign in to comment.