File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
Neos.ContentRepository.Export
Tests/Behavior/Features/Import Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -68,20 +68,7 @@ Feature: As a user of the CR I want to export the event stream
68
68
"""
69
69
And I import the events.jsonl
70
70
71
- And I expect the following errors to be logged
72
- | Skipping explicit content stream creation event . The export format should not contain " ContentStreamWasCreated " . |
71
+ And I expect a MigrationError with the message
72
+ | Failed to read events . ContentStreamWasCreated is not expected in imported event stream . |
73
73
74
- Then I expect exactly 3 events to be published on stream with prefix "ContentStream:cs-imported-identifier"
75
- And event at index 0 is of type "ContentStreamWasCreated" with payload:
76
- | Key | Expected |
77
- | contentStreamId | "cs -imported -identifier " |
78
- And event at index 1 is of type "RootNodeAggregateWithNodeWasCreated" with payload:
79
- | Key | Expected |
80
- | contentStreamId | "cs -imported -identifier " |
81
- | nodeAggregateId | "acme -site -sites " |
82
- | nodeTypeName | "Neos .Neos :Sites " |
83
- And event at index 2 is of type "NodeAggregateWithNodeWasCreated" with payload:
84
- | Key | Expected |
85
- | contentStreamId | "cs -imported -identifier " |
86
- | nodeAggregateId | "acme -site " |
87
- | nodeTypeName | "Vendor .Site :HomePage " |
74
+ Then I expect exactly 0 events to be published on stream with prefix "ContentStream:cs-imported-identifier"
Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ private static function extractContentStreamId(array $payload): ContentStreamId
195
195
return ContentStreamId::fromString ($ payload ['contentStreamId ' ]);
196
196
}
197
197
198
+ /** @phpstan-ignore-next-line */
198
199
private function dispatch (Severity $ severity , string $ message , mixed ...$ args ): void
199
200
{
200
201
$ renderedMessage = sprintf ($ message , ...$ args );
You can’t perform that action at this time.
0 commit comments