summaryrefslogtreecommitdiffstats
path: root/system/libraries/Unit_test.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-10-05 12:08:53 +0200
committerAndrey Andreev <narf@bofh.bg>2012-10-05 12:08:53 +0200
commit6dba0cded0999ccfecce07b55df2c11e3e6cce86 (patch)
tree8a595af2bd1980e4a475f5db5f4ce9f7bc8cd170 /system/libraries/Unit_test.php
parentf20bca9e065751fc271cb650f9246073492eccea (diff)
parentfad389699e2e851af09c1f4508646194c2f45660 (diff)
Merge pull request #1848 from blyxx86/develop
Unit test bugfix to allow setting columns for report method.
Diffstat (limited to 'system/libraries/Unit_test.php')
-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;