mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/12334] Add string test for type_int
PHPBB3-12334
This commit is contained in:
parent
482a22351d
commit
8cb7afa503
1 changed files with 6 additions and 0 deletions
|
@ -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'
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue