summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-08-10 12:21:15 +0200
committerAndrey Andreev <narf@devilix.net>2016-08-10 12:21:55 +0200
commitb5e2410c54f867307fb88647729794a1ded7e552 (patch)
treefde53902340aab7731571fae4102362d2d7fc51f
parent9b0f5fa0339eb1f74ff06e769d71e5911ba2be06 (diff)
Merge pull request #4754 from tianhe1986/develop_fix_unit_test_name
CI_Unit_test: Fix translation of result datatype
-rw-r--r--system/libraries/Unit_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Unit_test.php b/system/libraries/Unit_test.php
index 3ac6af78e..ea78e0d98 100644
--- a/system/libraries/Unit_test.php
+++ b/system/libraries/Unit_test.php
@@ -291,7 +291,7 @@ class CI_Unit_test {
{
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)))
{