Skip to content

Commit

Permalink
Fix parallel tests and publish events on correct stream
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Nov 20, 2024
1 parent 2b5d338 commit 2d3a136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Neos.ContentRepository.Core/Classes/ContentRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function handle(CommandInterface $command): void
// }
$yieldedErrorStrategy = $toPublish->throw($concurrencyException);
if ($yieldedErrorStrategy instanceof EventsToPublish) {
$this->eventStore->commit($eventsToPublish->streamName, $this->eventNormalizer->normalizeEvents($yieldedErrorStrategy), $yieldedErrorStrategy->expectedVersion);
$this->eventStore->commit($yieldedErrorStrategy->streamName, $this->eventNormalizer->normalizeEvents($yieldedErrorStrategy), $yieldedErrorStrategy->expectedVersion);
}
throw $concurrencyException;
}
Expand Down

0 comments on commit 2d3a136

Please sign in to comment.