mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:01:48 +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,
|
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'
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user