Skip to content

Commit

Permalink
Remove depreciated Hyrax::SolrQueryBuilderService from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rawOrlando committed Oct 26, 2023
1 parent c728f53 commit e99fe7d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

it "is successful" do
subject
expect(solr_params[:fq]).to eq ["-" + Hyrax::SolrQueryBuilderService.construct_query_for_ids([work.id])]
expect(solr_params[:fq]).to eq ["-" + Hyrax::SolrQueryService.construct_query_for_ids([work.id])]
end
end

Expand All @@ -40,7 +40,7 @@
it "is successful" do
subject
ids = Hyrax::SolrService.query("{!field f=id}#{work.id}", fl: "member_ids_ssim").flat_map { |x| x.fetch("member_ids_ssim", []) }
expect(solr_params[:fq]).to eq ["-" + Hyrax::SolrQueryBuilderService.construct_query_for_ids([ids])]
expect(solr_params[:fq]).to eq ["-" + Hyrax::SolrQueryService.construct_query_for_ids([ids])]
end
end

Expand Down

0 comments on commit e99fe7d

Please sign in to comment.