File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,13 @@ import (
13
13
"github.com/golang/mock/gomock"
14
14
"github.com/miekg/dns"
15
15
"github.com/qdm12/dns/internal/mockhelp"
16
+ "github.com/qdm12/dns/pkg/dnssec"
16
17
"github.com/stretchr/testify/assert"
17
18
"github.com/stretchr/testify/require"
18
19
)
19
20
21
+ func boolPtr (b bool ) * bool { return & b }
22
+
20
23
func Test_Resolver (t * testing.T ) {
21
24
t .Parallel ()
22
25
@@ -221,6 +224,9 @@ func Test_Server_Mocks(t *testing.T) {
221
224
Resolver : ResolverSettings {
222
225
Metrics : metrics ,
223
226
},
227
+ DNSSEC : dnssec.Settings {
228
+ Enabled : boolPtr (false ),
229
+ },
224
230
})
225
231
require .NoError (t , err )
226
232
Original file line number Diff line number Diff line change @@ -12,10 +12,13 @@ import (
12
12
"github.com/golang/mock/gomock"
13
13
"github.com/miekg/dns"
14
14
"github.com/qdm12/dns/internal/mockhelp"
15
+ "github.com/qdm12/dns/pkg/dnssec"
15
16
"github.com/stretchr/testify/assert"
16
17
"github.com/stretchr/testify/require"
17
18
)
18
19
20
+ func boolPtr (b bool ) * bool { return & b }
21
+
19
22
func Test_Resolver (t * testing.T ) {
20
23
t .Parallel ()
21
24
@@ -201,6 +204,9 @@ func Test_Server_Mocks(t *testing.T) {
201
204
Resolver : ResolverSettings {
202
205
Metrics : metrics ,
203
206
},
207
+ DNSSEC : dnssec.Settings {
208
+ Enabled : boolPtr (false ),
209
+ },
204
210
})
205
211
require .NoError (t , err )
206
212
You can’t perform that action at this time.
0 commit comments