summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorKyle Johnson <kjohnson@itekservice.com>2012-10-03 23:34:37 +0200
committerKyle Johnson <kjohnson@itekservice.com>2012-10-03 23:34:37 +0200
commitc4a3c3cb01dcc5fbcd079313a8576c701f3f54ff (patch)
tree6d1725cbfe7a504d5350e4cf1277804e32bcc511 /system
parent5ff5a3fb22f57598f459b1ab34fdc6ad2d99205c (diff)
Updated result function to check for visible items as defined in issue #395
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Unit_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/system/libraries/Unit_test.php b/system/libraries/Unit_test.php
index 70ad8dc41..435c32693 100644
--- a/system/libraries/Unit_test.php
+++ b/system/libraries/Unit_test.php
@@ -240,6 +240,11 @@ class CI_Unit_test {
{
foreach ($val as $k => $v)
{
+ if ( ! in_array($k, $this->_test_items_visible))
+ {
+ continue;
+ }
+
if (FALSE !== ($line = $CI->lang->line(strtolower('ut_'.$v))))
{
$v = $line;