Merge pull request #4754 from tianhe1986/develop_fix_unit_test_name
CI_Unit_test: Fix translation of result datatype
diff --git a/system/libraries/Unit_test.php b/system/libraries/Unit_test.php
index 3ac6af7..ea78e0d 100644
--- a/system/libraries/Unit_test.php
+++ b/system/libraries/Unit_test.php
@@ -291,7 +291,7 @@
{
continue;
}
- elseif (in_array($key, array('test_name', 'test_datatype', 'test_res_datatype', 'result'), TRUE))
+ elseif (in_array($key, array('test_name', 'test_datatype', 'res_datatype', 'result'), TRUE))
{
if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$val), FALSE)))
{