Skip to content

Commit

Permalink
TASK: Fix `I expect the content stream "user-cs-identifier" to not ex…
Browse files Browse the repository at this point in the history
…ist`

The step was previously introduced via neos/neos-development-collection@433f369 but wrongly implemented.

see also neos/neos-development-collection#5096 (comment)
  • Loading branch information
mhsdesign committed Oct 1, 2024
1 parent d57195d commit 333eaaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ContentRepositoryReadModelAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public function findContentStreamById(ContentStreamId $contentStreamId): ?Conten
{$this->tableNames->contentStream()}
WHERE
id = :contentStreamId
AND removed = FALSE
LIMIT 1
SQL;
try {
Expand All @@ -123,6 +124,8 @@ public function findContentStreams(): ContentStreams
id, sourceContentStreamId, status, version
FROM
{$this->tableNames->contentStream()}
WHERE
removed = FALSE
SQL;
try {
$rows = $this->dbal->fetchAllAssociative($contentStreamsStatement);
Expand Down

0 comments on commit 333eaaa

Please sign in to comment.