Skip to content

Commit 50ca951

Browse files
committed
fix(Teamcity): Correct order of test finish and warning messages in logger
1 parent ea0b5ea commit 50ca951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Render/Teamcity/TeamcityLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,13 +318,13 @@ private function handleRiskyTest(TestResult $result, ?int $duration, ?string $ov
318318
$this->publish(Formatter::testStdOut($name, $assertionHistory));
319319
}
320320

321-
$this->publish(Formatter::testFinished($name, $duration));
322321
$this->publish(
323322
Formatter::testStdOut(
324323
$name,
325324
'Warning: This test has been marked as risky',
326325
),
327326
);
327+
$this->publish(Formatter::testFinished($name, $duration));
328328
}
329329

330330
/**

0 commit comments

Comments
 (0)