From 85bf8289059dc8161553c40dde29ecd606099d7d Mon Sep 17 00:00:00 2001 From: bwaidelich Date: Sat, 1 Apr 2023 15:46:16 +0200 Subject: [PATCH] Replace code using Value Objects This changeset was created with a new rector ruleset (see https://github.com/neos/rector/pull/11) --- Tests/Behavior/Bootstrap/FeatureContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Behavior/Bootstrap/FeatureContext.php b/Tests/Behavior/Bootstrap/FeatureContext.php index c6730f1..3b8ad8d 100644 --- a/Tests/Behavior/Bootstrap/FeatureContext.php +++ b/Tests/Behavior/Bootstrap/FeatureContext.php @@ -95,7 +95,7 @@ public function iHaveTheFollowingNodeDataRows(TableNode $nodeDataRows): void return [ 'path' => $row['Path'], 'parentpath' => implode('/', array_slice(explode('/', $row['Path']), 0, -1)) ?: '/', - 'identifier' => $row['Identifier'] ?? (string)NodeAggregateId::create(), + 'identifier' => $row['Identifier'] ?? NodeAggregateId::create()->value, 'nodetype' => $row['Node Type'] ?? 'unstructured', 'properties' => !empty($row['Properties']) ? $row['Properties'] : '{}', 'dimensionvalues' => !empty($row['Dimension Values']) ? $row['Dimension Values'] : '{}',