diff --git a/tests/IntegrationTest.php b/tests/IntegrationTest.php index ae288026..4532e9bb 100644 --- a/tests/IntegrationTest.php +++ b/tests/IntegrationTest.php @@ -99,12 +99,12 @@ public function gettingPlaintextStuffFromEncryptedGoogleShouldNotWork() $this->assertNotRegExp('#^HTTP/1\.0#', $response); } - public function testConnectingFailsIfDnsUsesInvalidResolver() + public function testConnectingFailsIfConnectorUsesInvalidDnsResolverAddress() { $loop = Factory::create(); $factory = new ResolverFactory(); - $dns = $factory->create('demo.invalid', $loop); + $dns = $factory->create('255.255.255.255', $loop); $connector = new Connector($loop, array( 'dns' => $dns