This commit is contained in:
oleghasjanov 2025-03-06 11:51:01 +02:00
parent a11c0fca2d
commit ea8fa01f9b
2 changed files with 0 additions and 7 deletions

View file

@ -13,15 +13,11 @@ class OrgRegistrantPhoneCheckerJobTest < ActiveSupport::TestCase
ident: '12345678'
)
# Set environment variable to skip cache in tests
ENV['SKIP_COMPANY_REGISTER_CACHE'] = 'true'
# Clear cache before each test to avoid interference
Rails.cache.clear if defined?(Rails.cache)
end
teardown do
# Reset environment variable after tests
ENV['SKIP_COMPANY_REGISTER_CACHE'] = nil
end