Merge pull request #1194 from internetee/remove-registrar-address-from-whois

Remove registrar address from WHOIS
This commit is contained in:
Timo Võhmar 2019-05-10 15:26:50 +03:00 committed by GitHub
commit bc4634ce4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: [],
}