[BUGFIX] Fix math test on 32 bit systems
authorHelmut Hummel <helmut.hummel@typo3.org>
Sat, 5 May 2012 10:03:31 +0000 (12:03 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sat, 5 May 2012 14:26:03 +0000 (16:26 +0200)
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
tests/t3lib/utility/class.t3lib_utility_mathTest.php

index 623824e..a501adc 100644 (file)
@@ -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)
                );