@@ -107,7 +107,8 @@ public static function autoDetect($value): TestkitResponseInterface
107
107
$ tbr = new CypherNode (
108
108
new CypherObject ('CypherInt ' , $ value ->getId ()),
109
109
new CypherObject ('CypherList ' , new CypherList ($ labels )),
110
- new CypherObject ('CypherMap ' , new CypherMap ($ props ))
110
+ new CypherObject ('CypherMap ' , new CypherMap ($ props )),
111
+ new CypherObject ('CypherString ' , $ value ->getElementId ())
111
112
);
112
113
break ;
113
114
case Relationship::class:
@@ -123,6 +124,7 @@ public static function autoDetect($value): TestkitResponseInterface
123
124
new CypherObject ('CypherInt ' , $ value ->getEndNodeId ()),
124
125
new CypherObject ('CypherString ' , $ value ->getType ()),
125
126
new CypherObject ('CypherMap ' , new CypherMap ($ props )),
127
+ new CypherObject ('CypherString ' , $ value ->getElementId ())
126
128
);
127
129
break ;
128
130
case Path::class:
@@ -157,7 +159,8 @@ public static function autoDetect($value): TestkitResponseInterface
157
159
new CypherObject ('CypherNull ' , null ),
158
160
new CypherObject ('CypherNull ' , null ),
159
161
new CypherObject ('CypherString ' , $ value ->getType ()),
160
- new CypherObject ('CypherMap ' , new CypherMap ($ props ))
162
+ new CypherObject ('CypherMap ' , new CypherMap ($ props )),
163
+ new CypherObject ('CypherString ' , $ value ->getElementId ())
161
164
);
162
165
break ;
163
166
default :
0 commit comments