diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-02-04 00:28:33 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-02-04 00:28:33 +0100 |
commit | 7dc293232114fc8a16326675fa229ef924b1b289 (patch) | |
tree | 8f02beff927c214600080e713b011fcac50de018 | |
parent | 9846d806f3bc719138f237b64c8ca7db961838e8 (diff) | |
download | forums-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.
See 181f2551cfc82e119d73f462268813d18de06097
PHPBB3-9823
-rw-r--r-- | tests/functions_acp/validate_range_test.php | 4 |
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))), |