mirror of
https://github.com/TwiN/gatus.git
synced 2026-02-04 12:56:48 +00:00
test: Update expectedBody for DNS test
This commit is contained in:
@@ -157,7 +157,6 @@ func TestShouldRunPingerAsPrivileged(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func TestCanPerformStartTLS(t *testing.T) {
|
func TestCanPerformStartTLS(t *testing.T) {
|
||||||
type args struct {
|
type args struct {
|
||||||
address string
|
address string
|
||||||
@@ -468,7 +467,7 @@ func TestQueryDNS(t *testing.T) {
|
|||||||
},
|
},
|
||||||
inputURL: "8.8.8.8",
|
inputURL: "8.8.8.8",
|
||||||
expectedDNSCode: "NOERROR",
|
expectedDNSCode: "NOERROR",
|
||||||
expectedBody: "*.iana-servers.net.",
|
expectedBody: "*.ns.cloudflare.com.",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "test Config with type PTR",
|
name: "test Config with type PTR",
|
||||||
|
|||||||
Reference in New Issue
Block a user