Skip to content

Commit

Permalink
replaced null with n.a. in EventPrinter
Browse files Browse the repository at this point in the history
  • Loading branch information
robinlehrmann committed Dec 18, 2021
1 parent 184544e commit 26fdb75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Console/EventPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function write(SymfonyStyle $console, AggregateChanged $event): void
[
$event->aggregateId(),
$event->playhead(),
$date ? $date->format(DateTimeImmutable::ATOM) : 'null',
$date ? $date->format(DateTimeImmutable::ATOM) : 'n.a.',
],
]);

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Console/EventPrinterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testWrite(): void
'playhead',
'recordedOn',
],
[['1', null, 'null']]
[['1', null, 'n.a.']]
)->shouldBeCalledOnce();

$console->block(
Expand Down

0 comments on commit 26fdb75

Please sign in to comment.