aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/profilefields/type_int_test.php6
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'
+ ),
);
}