From: Helmut Hummel Date: Sat, 5 May 2012 10:03:31 +0000 (+0200) Subject: [BUGFIX] Fix math test on 32 bit systems X-Git-Tag: TYPO3_6-0-0alpha1~101 X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/commitdiff_plain/620fe580caeb177156b9c235777ed20121763191 [BUGFIX] Fix math test on 32 bit systems Change-Id: I02fde86434b0eef5eca1f0a162114669775a558c Fixes: #36860 Releases: 4.6, 4.7, 6.0 Reviewed-on: http://review.typo3.org/11012 Reviewed-by: Helmut Hummel Tested-by: Helmut Hummel Reviewed-by: Philipp Gampe Reviewed-by: Christian Kuhn Reviewed-by: Susanne Moog Tested-by: Susanne Moog --- diff --git a/tests/t3lib/utility/class.t3lib_utility_mathTest.php b/tests/t3lib/utility/class.t3lib_utility_mathTest.php index 623824e8cad4..a501adc7a564 100644 --- a/tests/t3lib/utility/class.t3lib_utility_mathTest.php +++ b/tests/t3lib/utility/class.t3lib_utility_mathTest.php @@ -47,7 +47,7 @@ class t3lib_utility_MathTest extends tx_phpunit_testcase { return array( 'negativeValue' => array(0, -10), 'normalValue' => array(30, 30), - 'veryHighValue' => array(2000000000, 3000000001), + 'veryHighValue' => array(2000000000, PHP_INT_MAX), 'zeroValue' => array(0, 0), 'anotherNormalValue' => array(12309, 12309) );