mirror of
https://github.com/internetee/registry.git
synced 2025-08-16 22:43:50 +02:00
added test for domain transfer iteraction
This commit is contained in:
parent
2620933543
commit
4d9c81f63b
17 changed files with 385 additions and 41 deletions
|
@ -11,6 +11,15 @@ class ReppV1DomainsStatusesTest < ActionDispatch::IntegrationTest
|
|||
|
||||
adapter = ENV["shunter_default_adapter"].constantize.new
|
||||
adapter&.clear!
|
||||
|
||||
# Mock DNSValidator to return success
|
||||
@original_validate = DNSValidator.method(:validate)
|
||||
DNSValidator.define_singleton_method(:validate) { |**args| { errors: [] } }
|
||||
end
|
||||
|
||||
def teardown
|
||||
# Restore original validate method
|
||||
DNSValidator.define_singleton_method(:validate, @original_validate)
|
||||
end
|
||||
|
||||
def test_client_hold_can_be_added
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue