mirror of
https://github.com/danog/dns-over-https.git
synced 2024-11-30 04:19:11 +01:00
Test fix
This commit is contained in:
parent
4a28ccac0b
commit
aa11865e5a
@ -43,12 +43,12 @@ class IntegrationTest extends TestCase
|
|||||||
* @group internet
|
* @group internet
|
||||||
* @dataProvider provideServers
|
* @dataProvider provideServers
|
||||||
*/
|
*/
|
||||||
public function testWorksAfterConfigReload($hostname, $nameservers)
|
public function testWorksAfterConfigReload($nameservers)
|
||||||
{
|
{
|
||||||
foreach ($nameservers as &$nameserver) {
|
foreach ($nameservers as &$nameserver) {
|
||||||
$nameserver = new Nameserver(...$nameserver);
|
$nameserver = new Nameserver(...$nameserver);
|
||||||
}
|
}
|
||||||
Loop::run(function () use ($hostname, $nameservers) {
|
Loop::run(function () use ($nameservers) {
|
||||||
$DohConfig = new DoH\DoHConfig($nameservers);
|
$DohConfig = new DoH\DoHConfig($nameservers);
|
||||||
Dns\resolver(new DoH\Rfc8484StubResolver($DohConfig));
|
Dns\resolver(new DoH\Rfc8484StubResolver($DohConfig));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user