bugfix: actually *use* the CH class

This commit is contained in:
Miek Gieben
2016-03-25 20:30:38 +00:00
parent d9b7c94724
commit a832ab696a
2 changed files with 2 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ func TestChaos(t *testing.T) {
test.qtype = dns.TypeTXT
}
req.SetQuestion(dns.Fqdn(test.qname), test.qtype)
req.Question[0].Qclass = dns.ClassCHAOS
em.Next = test.next
rec := middleware.NewResponseRecorder(&middleware.TestResponseWriter{})