Skip to content

Commit

Permalink
prevent validator sessions from being created in test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammjammjamm committed Apr 8, 2024
1 parent 3047f95 commit 47cfeef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/inferno/config/boot/validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
# so skipping it on workers will start it only once from the "web" process
next if Sidekiq.server?

next if ENV['APP_ENV'] == 'test'

Inferno::Repositories::TestSuites.new.all.each do |suite|
suite.fhir_validators.each do |name, validators|
validators.each_with_index do |validator, index|
Expand Down

0 comments on commit 47cfeef

Please sign in to comment.