aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-02-04 00:28:33 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-02-04 00:28:33 +0100
commit7dc293232114fc8a16326675fa229ef924b1b289 (patch)
tree8f02beff927c214600080e713b011fcac50de018
parent9846d806f3bc719138f237b64c8ca7db961838e8 (diff)
downloadforums-7dc293232114fc8a16326675fa229ef924b1b289.tar
forums-7dc293232114fc8a16326675fa229ef924b1b289.tar.gz
forums-7dc293232114fc8a16326675fa229ef924b1b289.tar.bz2
forums-7dc293232114fc8a16326675fa229ef924b1b289.tar.xz
forums-7dc293232114fc8a16326675fa229ef924b1b289.zip
[ticket/9823] Replace 0x80000000 with -2147483648 in tests.
-rw-r--r--tests/functions_acp/validate_range_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functions_acp/validate_range_test.php b/tests/functions_acp/validate_range_test.php
index 07c9538c66..a9c9612ad7 100644
--- a/tests/functions_acp/validate_range_test.php
+++ b/tests/functions_acp/validate_range_test.php
@@ -42,7 +42,7 @@ class phpbb_functions_acp_validate_range_test extends phpbb_test_case
array(array(array('column_type' => 'UINT', 'lang' => 'TEST', 'value' => (int) 0x7fffffff))),
array(array(array('column_type' => 'UINT:32:128', 'lang' => 'TEST', 'value' => 35))),
- array(array(array('column_type' => 'INT', 'lang' => 'TEST', 'value' => (int) 0x80000000))),
+ array(array(array('column_type' => 'INT', 'lang' => 'TEST', 'value' => (int) -2147483648))),
array(array(array('column_type' => 'INT', 'lang' => 'TEST', 'value' => (int) 0x7fffffff))),
array(array(array('column_type' => 'INT:-32:128', 'lang' => 'TEST', 'value' => -28))),
array(array(array('column_type' => 'INT:-32:128', 'lang' => 'TEST', 'value' => 35))),
@@ -87,7 +87,7 @@ class phpbb_functions_acp_validate_range_test extends phpbb_test_case
array(array(array('column_type' => 'UINT', 'lang' => 'TEST', 'value' => -1))),
array(array(array('column_type' => 'UINT:32:128', 'lang' => 'TEST', 'value' => 31))),
- array(array(array('column_type' => 'INT', 'lang' => 'TEST', 'value' => ((int) 0x80000000) - 1))),
+ array(array(array('column_type' => 'INT', 'lang' => 'TEST', 'value' => ((int) -2147483648) - 1))),
array(array(array('column_type' => 'INT:32:128', 'lang' => 'TEST', 'value' => 31))),
array(array(array('column_type' => 'INT:-32:128', 'lang' => 'TEST', 'value' => -33))),