Skip to content

Commit

Permalink
tweak weirdly failing test to avoid unexpected failures #1712
Browse files Browse the repository at this point in the history
  • Loading branch information
stuzart committed Jan 9, 2024
1 parent 914fc7b commit 6749dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/search_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ class SearchControllerTest < ActionController::TestCase

VCR.use_cassette('biomodels/search') do
with_config_value(:external_search_enabled, true) do
Model.stub(:solr_cache, -> (q) { Model.pluck(:id).last(3) }) do
Model.stub(:solr_cache, -> (q) { Model.pluck(:id).last(1) }) do
get :index, params: { q: 'yeast', include_external_search: '1' }
end
end
Expand Down

0 comments on commit 6749dda

Please sign in to comment.