tests: fix HTTP requests failing due to webmock (#3039).
Fixes failures in source tests caused by Webmock disabling non-stubbed HTTP requests by default. https://github.com/bblimke/webmock#real-requests-to-network-can-be-allowed-or-disabled
This commit is contained in:
@@ -30,6 +30,7 @@ class ActiveSupport::TestCase
|
|||||||
setup do
|
setup do
|
||||||
mock_popular_search_service!
|
mock_popular_search_service!
|
||||||
mock_missed_search_service!
|
mock_missed_search_service!
|
||||||
|
WebMock.allow_net_connect!
|
||||||
end
|
end
|
||||||
|
|
||||||
teardown do
|
teardown do
|
||||||
|
|||||||
Reference in New Issue
Block a user