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'] : '{}',