Remove registrar address from WHOIS

Closes #1193
This commit is contained in:
Artur Beljajev 2019-05-10 11:43:19 +03:00
parent 8188def3a1
commit a735d62640
2 changed files with 0 additions and 2 deletions

View file

@ -70,7 +70,6 @@ class WhoisRecord < ActiveRecord::Base
h[:registrar] = domain.registrar.name
h[:registrar_website] = domain.registrar.website
h[:registrar_phone] = domain.registrar.phone
h[:registrar_address] = domain.registrar.address
h[:registrar_changed] = domain.registrar.updated_at.try(:to_s, :iso8601)
h[:nameservers] = domain.nameservers.hostnames.uniq.select(&:present?)

View file

@ -21,7 +21,6 @@ class WhoisRecordTest < ActiveSupport::TestCase
disclaimer: expected_disclaimer_text,
name: 'shop.test',
expire: '2010-07-05',
registrar_address: 'Main Street, New York, New York, 12345',
dnssec_keys: [],
}