From aa11865e5aafbfa219c48cae7e228ef218c6d169 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 12 Jun 2019 13:54:30 +0200 Subject: [PATCH] Test fix --- test/IntegrationTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/IntegrationTest.php b/test/IntegrationTest.php index ec3a0bb..98d9cca 100644 --- a/test/IntegrationTest.php +++ b/test/IntegrationTest.php @@ -43,12 +43,12 @@ class IntegrationTest extends TestCase * @group internet * @dataProvider provideServers */ - public function testWorksAfterConfigReload($hostname, $nameservers) + public function testWorksAfterConfigReload($nameservers) { foreach ($nameservers as &$nameserver) { $nameserver = new Nameserver(...$nameserver); } - Loop::run(function () use ($hostname, $nameservers) { + Loop::run(function () use ($nameservers) { $DohConfig = new DoH\DoHConfig($nameservers); Dns\resolver(new DoH\Rfc8484StubResolver($DohConfig));