This commit is contained in:
Daniil Gentili 2019-06-12 13:54:30 +02:00
parent 4a28ccac0b
commit aa11865e5a

View File

@ -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));