diff --git a/pkg/doh/integration_test.go b/pkg/doh/integration_test.go index 0bd50f5f..675d05e1 100644 --- a/pkg/doh/integration_test.go +++ b/pkg/doh/integration_test.go @@ -13,10 +13,13 @@ import ( "github.com/golang/mock/gomock" "github.com/miekg/dns" "github.com/qdm12/dns/internal/mockhelp" + "github.com/qdm12/dns/pkg/dnssec" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) +func boolPtr(b bool) *bool { return &b } + func Test_Resolver(t *testing.T) { t.Parallel() @@ -221,6 +224,9 @@ func Test_Server_Mocks(t *testing.T) { Resolver: ResolverSettings{ Metrics: metrics, }, + DNSSEC: dnssec.Settings{ + Enabled: boolPtr(false), + }, }) require.NoError(t, err) diff --git a/pkg/dot/integration_test.go b/pkg/dot/integration_test.go index 0bdbb850..14b7e3e8 100644 --- a/pkg/dot/integration_test.go +++ b/pkg/dot/integration_test.go @@ -12,10 +12,13 @@ import ( "github.com/golang/mock/gomock" "github.com/miekg/dns" "github.com/qdm12/dns/internal/mockhelp" + "github.com/qdm12/dns/pkg/dnssec" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) +func boolPtr(b bool) *bool { return &b } + func Test_Resolver(t *testing.T) { t.Parallel() @@ -201,6 +204,9 @@ func Test_Server_Mocks(t *testing.T) { Resolver: ResolverSettings{ Metrics: metrics, }, + DNSSEC: dnssec.Settings{ + Enabled: boolPtr(false), + }, }) require.NoError(t, err)