Skip to content

Commit

Permalink
Set up search tests individually
Browse files Browse the repository at this point in the history
So that you can index extra records if needed and have them cleaned up
before the next test run

closes #280
  • Loading branch information
hackartisan committed Nov 27, 2024
1 parent fc0ebf6 commit 766c91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/dpul_collections_web/live/search_live_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule DpulCollectionsWeb.SearchLiveTest do
alias DpulCollections.Solr
@endpoint DpulCollectionsWeb.Endpoint

setup_all do
setup do
Solr.add(SolrTestSupport.mock_solr_documents(), active_collection())
Solr.commit(active_collection())
on_exit(fn -> Solr.delete_all(active_collection()) end)
Expand Down

0 comments on commit 766c91a

Please sign in to comment.