diff options
author | Stanislav Atanasov <lucifer@anavaro.com> | 2014-07-10 11:53:10 +0300 |
---|---|---|
committer | Stanislav Atanasov <lucifer@anavaro.com> | 2014-07-10 11:53:10 +0300 |
commit | 902937ce70ae1c992a120679fc7b0a0134c5451d (patch) | |
tree | 1836559fecbc42f6f6703d3b111bbf7cc0f2a0df /tests/profilefields | |
parent | 223c634bee355f8df521163e33585b0abf1e1f69 (diff) | |
download | forums-902937ce70ae1c992a120679fc7b0a0134c5451d.tar forums-902937ce70ae1c992a120679fc7b0a0134c5451d.tar.gz forums-902937ce70ae1c992a120679fc7b0a0134c5451d.tar.bz2 forums-902937ce70ae1c992a120679fc7b0a0134c5451d.tar.xz forums-902937ce70ae1c992a120679fc7b0a0134c5451d.zip |
[ticket/12793] Tests (added and changed)
changed behavieur of 0 as in and added 0 as string test
PHPBB3-12793
Diffstat (limited to 'tests/profilefields')
-rw-r--r-- | tests/profilefields/type_string_test.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/profilefields/type_string_test.php b/tests/profilefields/type_string_test.php index f6c14ee38b..2277526758 100644 --- a/tests/profilefields/type_string_test.php +++ b/tests/profilefields/type_string_test.php @@ -249,8 +249,14 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case array( 0, array('field_show_novalue' => false), - null, - 'Field should return null for empty integer without show_novalue', + 0, + 'Field should return value of integer 0 without show_novalue', + ), + array( + '0', + array('field_show_novalue' => false), + '0', + 'Field should return string 0', ), array( 0, |