Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Work around failing tests on legacy PHP 5.3
  • Loading branch information
clue committed Jul 11, 2021
commit d9401a5c1be1ed967ee4d94187371cedfe1e8d85
6 changes: 6 additions & 0 deletions tests/Client/FunctionalIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ public function testRequestLegacyHttpServerWithOnlyLineFeedReturnsSuccessfulResp
/** @group internet */
public function testSuccessfulResponseEmitsEnd()
{
// 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);

$loop = Factory::create();
$client = new Client($loop);

Expand All @@ -106,6 +109,9 @@ public function testPostDataReturnsData()
$this->markTestSkipped('Not supported on HHVM');
}

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

$loop = Factory::create();
$client = new Client($loop);

Expand Down