Skip to content

Commit

Permalink
Clear cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kdp-cloud committed Jun 25, 2024
1 parent 5cde9a2 commit de3cbcc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/unit/jobs/populate_templates_job_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

class PopulateTemplatesJobTest < ActiveSupport::TestCase
def setup
Seek::Util.clear_cached

# Create the SampleAttributeTypes
%i[string_sample_attribute_type sample_multi_sample_attribute_type].map do |type|
FactoryBot.create(type)
Expand All @@ -19,6 +21,8 @@ def setup
end

def teardown
Seek::Util.clear_cached

# Set isa_json_compliance_enabled back to false
Seek::Config.isa_json_compliance_enabled = false
end
Expand Down

0 comments on commit de3cbcc

Please sign in to comment.