Skip to content

Commit

Permalink
TASK: Adjusts TestSuite to be synchronous
Browse files Browse the repository at this point in the history
This change was partially ported from neos/neos-development-collection#4988

Following things have been adjusted:

- Removal of the step: The graph projection is fully up to date
  - remove lastCommandOrEventResult
- Removal of the step: The documenturipath projection is up to date
- Use injected Connection in tests instead of DoctrineDbalClient (this will be fully refactored in #4988)
  • Loading branch information
mhsdesign committed May 17, 2024
1 parent ed686ac commit 6d3f669
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion Tests/Behavior/Features/Bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public function __construct()
self::bootstrapFlow();
$this->contentRepositoryRegistry = $this->getObject(ContentRepositoryRegistry::class);

$this->setupCRTestSuiteTrait();
$this->setupCrImportExportTrait();
}

Expand Down
2 changes: 0 additions & 2 deletions Tests/Behavior/Features/Export/Export.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Feature: As a user of the CR I want to export the event stream
| workspaceTitle | "Live" |
| workspaceDescription | "The live workspace" |
| newContentStreamId | "cs-identifier" |
And the graph projection is fully up to date
And I am in workspace "live"
And the command CreateRootNodeAggregateWithNode is executed with payload:
| Key | Value |
Expand All @@ -33,7 +32,6 @@ Feature: As a user of the CR I want to export the event stream
| parentNodeAggregateId | "lady-eleonode-rootford" |
| nodeName | "child-document" |
| nodeAggregateClassification | "regular" |
And the graph projection is fully up to date

Scenario: Export the event stream
Then I expect exactly 3 events to be published on stream with prefix "ContentStream:cs-identifier"
Expand Down

0 comments on commit 6d3f669

Please sign in to comment.