replaced mime type for dns message in the tests, using standard

This commit is contained in:
HoneyryderChuck 2019-03-16 16:15:48 +00:00
parent 935a58e11e
commit 9d2a5a1df0

View File

@ -79,18 +79,18 @@ class HTTPSResolverTest < Minitest::Test
end
def a_record
MockResponse.new({ "content-type" => "application/dns-udpwireformat" }, super)
MockResponse.new({ "content-type" => "application/dns-message" }, super)
end
def aaaa_record
MockResponse.new({ "content-type" => "application/dns-udpwireformat" }, super)
MockResponse.new({ "content-type" => "application/dns-message" }, super)
end
def cname_record
MockResponse.new({ "content-type" => "application/dns-udpwireformat" }, super)
MockResponse.new({ "content-type" => "application/dns-message" }, super)
end
def no_record
MockResponse.new({ "content-type" => "application/dns-udpwireformat" }, super)
MockResponse.new({ "content-type" => "application/dns-message" }, super)
end
end