We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c37350 commit c1bf606Copy full SHA for c1bf606
src/Runner/TestSuiteSorter.php
@@ -140,8 +140,9 @@ private function addSuiteToDefectSortOrder(TestSuite $suite): void
140
141
foreach ($suite->tests() as $test) {
142
$testname = $this->getNormalizedTestName($test);
143
+
144
if (!isset($this->defectSortOrder[$testname])) {
- $this->defectSortOrder[$testname] = self::DEFECT_SORT_WEIGHT[$this->cache->getState($testname)];
145
+ $this->defectSortOrder[$testname] = self::DEFECT_SORT_WEIGHT[$this->cache->getState($testname)];
146
$max = \max($max, $this->defectSortOrder[$testname]);
147
}
148
0 commit comments