diff options
| author | Shitiz Garg <mail@dragooon.net> | 2014-06-27 19:10:48 +0530 |
|---|---|---|
| committer | Shitiz Garg <mail@dragooon.net> | 2014-06-27 19:14:36 +0530 |
| commit | 8cb7afa503362a8e1725591d9619c8712b0b86c0 (patch) | |
| tree | 4f43f2f8c5d49e75a119885b3ff20b7b6786a5b1 | |
| parent | 482a22351d08a31b3aa81008e67c994268f8fac5 (diff) | |
| download | forums-8cb7afa503362a8e1725591d9619c8712b0b86c0.tar forums-8cb7afa503362a8e1725591d9619c8712b0b86c0.tar.gz forums-8cb7afa503362a8e1725591d9619c8712b0b86c0.tar.bz2 forums-8cb7afa503362a8e1725591d9619c8712b0b86c0.tar.xz forums-8cb7afa503362a8e1725591d9619c8712b0b86c0.zip | |
[ticket/12334] Add string test for type_int
PHPBB3-12334
| -rw-r--r-- | tests/profilefields/type_int_test.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/profilefields/type_int_test.php b/tests/profilefields/type_int_test.php index 9f432ad3c1..78c3cee56e 100644 --- a/tests/profilefields/type_int_test.php +++ b/tests/profilefields/type_int_test.php @@ -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' + ), ); } |
