mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 02:21:43 +02:00
[ticket/12334] Add string test for type_int
PHPBB3-12334
This commit is contained in:
@@ -211,6 +211,12 @@ class phpbb_profilefield_type_int_test extends phpbb_test_case
|
||||
null,
|
||||
'Field should return correct raw value',
|
||||
),
|
||||
array(
|
||||
'string',
|
||||
array('field_show_novalue' => false),
|
||||
0,
|
||||
'Field should return int cast of passed string'
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user