Skip to content

Commit

Permalink
never try to clean ActiveFedora if Wings is disabled (#6147)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamsin johnson authored Aug 10, 2023
1 parent 14da6b5 commit 475a764
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def ci_build?
ActiveJob::Base.queue_adapter = :test

def clean_active_fedora_repository
return if Hyrax.config.disable_wings
ActiveFedora::Cleaner.clean!
# The JS is executed in a different thread, so that other thread
# may think the root path has already been created:
Expand Down

0 comments on commit 475a764

Please sign in to comment.