mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/12793] Tests (added and changed)
changed behavieur of 0 as in and added 0 as string test PHPBB3-12793
This commit is contained in:
parent
223c634bee
commit
902937ce70
1 changed files with 8 additions and 2 deletions
|
@ -249,8 +249,14 @@ class phpbb_profilefield_type_string_test extends phpbb_test_case
|
||||||
array(
|
array(
|
||||||
0,
|
0,
|
||||||
array('field_show_novalue' => false),
|
array('field_show_novalue' => false),
|
||||||
null,
|
0,
|
||||||
'Field should return null for empty integer without show_novalue',
|
'Field should return value of integer 0 without show_novalue',
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'0',
|
||||||
|
array('field_show_novalue' => false),
|
||||||
|
'0',
|
||||||
|
'Field should return string 0',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
0,
|
0,
|
||||||
|
|
Loading…
Add table
Reference in a new issue