Don't run ini_set tests in php 5 because it crashes
This commit is contained in:
parent
bbdd346c1c
commit
9d6d7d01d3
@ -317,6 +317,7 @@ class MessageBufferTest extends \PHPUnit_Framework_TestCase
|
|||||||
* @param int $expectedLimit
|
* @param int $expectedLimit
|
||||||
*
|
*
|
||||||
* @runInSeparateProcess
|
* @runInSeparateProcess
|
||||||
|
* @requires PHP >= 7.0
|
||||||
*/
|
*/
|
||||||
public function testIniSizes($phpConfigurationValue, $expectedLimit) {
|
public function testIniSizes($phpConfigurationValue, $expectedLimit) {
|
||||||
ini_set('memory_limit', $phpConfigurationValue);
|
ini_set('memory_limit', $phpConfigurationValue);
|
||||||
@ -343,6 +344,7 @@ class MessageBufferTest extends \PHPUnit_Framework_TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @runInSeparateProcess
|
* @runInSeparateProcess
|
||||||
|
* @requires PHP >= 7.0
|
||||||
*/
|
*/
|
||||||
public function testInvalidIniSize() {
|
public function testInvalidIniSize() {
|
||||||
ini_set('memory_limit', 'lots of memory');
|
ini_set('memory_limit', 'lots of memory');
|
||||||
|
Loading…
Reference in New Issue
Block a user