mirror of
https://github.com/caddyserver/caddy.git
synced 2025-12-08 06:09:53 +00:00
Update test to use tls_resolvers instead of resolvers
This commit is contained in:
parent
1f47357e62
commit
6784138bb1
1 changed files with 3 additions and 3 deletions
|
|
@ -75,7 +75,7 @@ func TestGlobalResolversOption(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "single resolver",
|
name: "single resolver",
|
||||||
input: `{
|
input: `{
|
||||||
resolvers 1.1.1.1
|
tls_resolvers 1.1.1.1
|
||||||
}
|
}
|
||||||
example.com {
|
example.com {
|
||||||
}`,
|
}`,
|
||||||
|
|
@ -85,7 +85,7 @@ func TestGlobalResolversOption(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "two resolvers",
|
name: "two resolvers",
|
||||||
input: `{
|
input: `{
|
||||||
resolvers 1.1.1.1 8.8.8.8
|
tls_resolvers 1.1.1.1 8.8.8.8
|
||||||
}
|
}
|
||||||
example.com {
|
example.com {
|
||||||
}`,
|
}`,
|
||||||
|
|
@ -95,7 +95,7 @@ func TestGlobalResolversOption(t *testing.T) {
|
||||||
{
|
{
|
||||||
name: "multiple resolvers",
|
name: "multiple resolvers",
|
||||||
input: `{
|
input: `{
|
||||||
resolvers 1.1.1.1 8.8.8.8 9.9.9.9
|
tls_resolvers 1.1.1.1 8.8.8.8 9.9.9.9
|
||||||
}
|
}
|
||||||
example.com {
|
example.com {
|
||||||
}`,
|
}`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue