[ticket/12334] Add string test for type_int

PHPBB3-12334
This commit is contained in:
Shitiz Garg 2014-06-27 19:10:48 +05:30
parent 482a22351d
commit 8cb7afa503

View file

@ -211,6 +211,12 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
null, null,
'Field should return correct raw value', 'Field should return correct raw value',
), ),
array(
'string',
array('field_show_novalue' => false),
0,
'Field should return int cast of passed string'
),
); );
} }