diff --git a/tests/FunctionalTest.php b/tests/FunctionalTest.php index 445d1d1..ec46231 100644 --- a/tests/FunctionalTest.php +++ b/tests/FunctionalTest.php @@ -45,6 +45,9 @@ public function testConnection() /** @group internet */ public function testConnectionInvalid() { + // max_nesting_level was set to 100 for PHP Versions < 5.4 which resulted in failing test for legacy PHP + ini_set('xdebug.max_nesting_level', 256); + $this->assertRejectPromise($this->client->connect('www.google.com.invalid:80')); }