* fix a bug for case step.

This commit is contained in:
wangyidong
2012-08-16 08:23:56 +00:00
parent f232fbbde9
commit bd10311b3f
+1 -1
View File
@@ -543,9 +543,9 @@ class testcase extends control
$i = 1;
foreach($relatedSteps[$case->id] as $step)
{
if($step->version != $case->version) continue;
$case->steps .= $i . ":" . $step->desc . '<br />' . $caseLang->stepExpect . ':' . $step->expect . '<br />';
$i ++;
if($step->version != $case->version) break;
}
}