Skip to content

Commit

Permalink
Merge pull request #6919 from samvera/give-valkyrie-a-bath
Browse files Browse the repository at this point in the history
Include valkyrie in :clean_repo
  • Loading branch information
dlpierce authored Oct 11, 2024
2 parents aeb5e3e + aa6ea35 commit f77472d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def clean_active_fedora_repository
end

config.before(:example, :clean_repo) do
clean_active_fedora_repository unless Hyrax.config.disable_wings
Hyrax.config.disable_wings ? Hyrax.persister.wipe! : clean_active_fedora_repository
Hyrax::RedisEventStore.instance.then(&:flushdb)
# Not needed to clean the Solr core used by ActiveFedora since
# clean_active_fedora_repository will wipe that core
Expand Down

0 comments on commit f77472d

Please sign in to comment.