Skip to content

Commit 0acb4cc

Browse files
Merge branch '10.5' into 11.5
2 parents e9f8129 + b360e13 commit 0acb4cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Logging/JUnit/JunitXmlLogger.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ public function testPrepared(): void
197197

198198
public function testPrintedUnexpectedOutput(PrintedUnexpectedOutput $event): void
199199
{
200+
assert($this->currentTestCase !== null);
201+
200202
$systemOut = $this->document->createElement(
201203
'system-out',
202204
Xml::prepareString($event->output()),

0 commit comments

Comments
 (0)