Skip to content

Commit

Permalink
federate only with one portal to make requests faster
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Jan 30, 2025
1 parent d0e2b98 commit 11360ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/system/federation_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FederationTest < ApplicationSystemTestCase
visit "#{@search_path}?q=#{@query}"
results_count_no_federation = find('.search-page-number-of-results').text.scan(/\d+/).first.to_i

visit "#{@search_path}?q=#{@query}&lang=all&portals%5B%5D=agroportal&portals%5B%5D=ecoportal&portals%5B%5D=earthportal&portals%5B%5D=biodivportal"
visit "#{@search_path}?q=#{@query}&lang=all&portals%5B%5D=agroportal"
results_count_federation = find('.search-page-number-of-results').text.scan(/\d+/).first.to_i

assert_not_equal results_count_no_federation, results_count_federation
Expand Down

0 comments on commit 11360ee

Please sign in to comment.