commit | c4a3c3cb01dcc5fbcd079313a8576c701f3f54ff | [log] [tgz] |
---|---|---|
author | Kyle Johnson <kjohnson@itekservice.com> | Wed Oct 03 14:34:37 2012 -0700 |
committer | Kyle Johnson <kjohnson@itekservice.com> | Wed Oct 03 14:34:37 2012 -0700 |
tree | 6d1725cbfe7a504d5350e4cf1277804e32bcc511 | |
parent | 5ff5a3fb22f57598f459b1ab34fdc6ad2d99205c [diff] |
Updated result function to check for visible items as defined in issue #395
diff --git a/system/libraries/Unit_test.php b/system/libraries/Unit_test.php index 70ad8dc..435c326 100644 --- a/system/libraries/Unit_test.php +++ b/system/libraries/Unit_test.php
@@ -240,6 +240,11 @@ { 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;