Skip to content

Commit

Permalink
correct tests to check for CNAME instead of AAAA
Browse files Browse the repository at this point in the history
Signed-off-by: georglauterbach <[email protected]>
  • Loading branch information
georglauterbach committed Oct 29, 2024
1 parent e3d7d84 commit cf99228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/Http/Client/DnsPinMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit cf99228

Please sign in to comment.