mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
refactor
This commit is contained in:
parent
a11c0fca2d
commit
ea8fa01f9b
2 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue