mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Add DNS keys to domain API response
It is fairly similar to what we do for WHOIS records, but one query is slightly rewritten with removal of try-catch block
This commit is contained in:
parent
41d0931607
commit
74a9d59753
2 changed files with 16 additions and 0 deletions
|
@ -29,7 +29,11 @@ class RegistrantApiDomainsTest < ApplicationIntegrationTest
|
|||
email: 'john@inbox.test'}],
|
||||
domain[:tech_contacts])
|
||||
assert_equal({ name: 'Good Names', website: nil }, domain[:registrar])
|
||||
|
||||
assert_equal([], domain[:nameservers])
|
||||
assert_equal([], domain[:dnssec_keys])
|
||||
assert(domain.has_key?(:dnssec_changed_at))
|
||||
|
||||
assert(domain.has_key?(:locked_by_registrant_at))
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue