diff --git a/tests/FunctionalTest.php b/tests/FunctionalTest.php index 20c904e..5cae396 100644 --- a/tests/FunctionalTest.php +++ b/tests/FunctionalTest.php @@ -50,6 +50,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')); }