Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 20, 2019
1 parent 36660ff commit 96d4ec4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Util/TestDox/XmlResultPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,11 @@ function ($group) {

if (isset($inlineAnnotations['given'], $inlineAnnotations['when'], $inlineAnnotations['then'])) {
$node->setAttribute('given', $inlineAnnotations['given']['value']);
$node->setAttribute('givenStartLine', $inlineAnnotations['given']['line']);
$node->setAttribute('givenStartLine', (string) $inlineAnnotations['given']['line']);
$node->setAttribute('when', $inlineAnnotations['when']['value']);
$node->setAttribute('whenStartLine', $inlineAnnotations['when']['line']);
$node->setAttribute('whenStartLine', (string) $inlineAnnotations['when']['line']);
$node->setAttribute('then', $inlineAnnotations['then']['value']);
$node->setAttribute('thenStartLine', $inlineAnnotations['then']['line']);
$node->setAttribute('thenStartLine', (string) $inlineAnnotations['then']['line']);
}

if ($this->exception !== null) {
Expand Down

0 comments on commit 96d4ec4

Please sign in to comment.