From cf9922851bbe6c6e3647f83d414a01c7f3ec0d94 Mon Sep 17 00:00:00 2001 From: georglauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Tue, 29 Oct 2024 23:48:52 +0100 Subject: [PATCH] correct tests to check for CNAME instead of AAAA Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com> --- tests/lib/Http/Client/DnsPinMiddlewareTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/Http/Client/DnsPinMiddlewareTest.php b/tests/lib/Http/Client/DnsPinMiddlewareTest.php index 68635a3241452..0ca9c0b214f92 100644 --- a/tests/lib/Http/Client/DnsPinMiddlewareTest.php +++ b/tests/lib/Http/Client/DnsPinMiddlewareTest.php @@ -542,6 +542,6 @@ static function (RequestInterface $request, array $options) { $this->assertContains('subsubdomain.subdomain.example.com' . DNS_A, $dnsQueries); $this->assertContains('subsubdomain.subdomain.example.com' . DNS_AAAA, $dnsQueries); // CNAME should not be queried of A or AAAA succeeded already - $this->assertNotContains('subsubdomain.subdomain.example.com' . DNS_AAAA, $dnsQueries); + $this->assertNotContains('subsubdomain.subdomain.example.com' . DNS_CNAME, $dnsQueries); } }