Skip to content

Commit

Permalink
Merge pull request #5312 from neos/bugfix/behat-gherkin-backslahes
Browse files Browse the repository at this point in the history
BUGFIX: Avoid escaping errors within Gherkin
  • Loading branch information
bwaidelich authored Oct 22, 2024
2 parents e04047b + ca0f516 commit 4640bda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Feature: Properties
| nodeAggregateId | "sir-david-nodenborough" |
| originDimensionSpacePoint | {} |
| affectedDimensionSpacePoints | [{}] |
| propertyValues | {"myProp": {"value": "original value", "type": "My\\Non\\Existing\\Class"}} |
| propertyValues | {"myProp": {"value": "original value", "type": "My\\\\Non\\\\Existing\\\\Class"}} |
| propertiesToUnset | {} |
Then I expect the following structure adjustments for type "Neos.ContentRepository.Testing:Document":
| Type | nodeAggregateId |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ Feature: Export of used Assets, Image Variants and Persistent Resources
| Identifier | Path | Node Type | Dimension Values | Properties |
| sites-node-id | /sites | unstructured | | |
| site-node-id | /sites/test-site | Some.Package:Homepage | | {"string": "asset:\/\/asset1"} |
| site-node-id | /sites/test-site | Some.Package:Homepage | {"language": ["ch"]} | {"image": {"__flow_object_type": "Neos\\Media\\Domain\\Model\\Image", "__identifier": "asset2"}} |
| site-node-id | /sites/test-site | Some.Package:Homepage | {"language": ["en"]} | {"assets": [{"__flow_object_type": "Neos\\Media\\Domain\\Model\\Document", "__identifier": "asset3"}, {"__flow_object_type": "Neos\\Media\\Domain\\Model\\Image", "__identifier": "asset2"}, {"__flow_object_type": "Neos\\Media\\Domain\\Model\\ImageVariant", "__identifier": "variant1"}]} |
| site-node-id | /sites/test-site | Some.Package:Homepage | {"language": ["ch"]} | {"image": {"__flow_object_type": "Neos\\\\Media\\\\Domain\\\\Model\\\\Image", "__identifier": "asset2"}} |
| site-node-id | /sites/test-site | Some.Package:Homepage | {"language": ["en"]} | {"assets": [{"__flow_object_type": "Neos\\\\Media\\\\Domain\\\\Model\\\\Document", "__identifier": "asset3"}, {"__flow_object_type": "Neos\\\\Media\\\\Domain\\\\Model\\\\Image", "__identifier": "asset2"}, {"__flow_object_type": "Neos\\\\Media\\\\Domain\\\\Model\\\\ImageVariant", "__identifier": "variant1"}]} |
| site-node-id | /sites/test-site | Some.Package:Homepage | {"language": ["de"]} | {"string": "some text with an <a href=\"asset:\/\/asset4\">asset link</a>"} |
And I run the asset migration
Then I expect the following Assets to be exported:
Expand Down

0 comments on commit 4640bda

Please sign in to comment.