File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/Magento/FunctionalTestingFramework
Test/Config/Converter/Dom Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,9 @@ protected function getNodePathByParent(\DOMElement $node, $parentPath)
224
224
if ($ value = $ node ->getAttribute ($ idAttributeValue )) {
225
225
$ path .= "[@ {$ idAttributeValue }=' {$ value }'] " ;
226
226
break ;
227
+ // TODO Remove the following elseif block once the 'mergeKey' attribute has been fully deprecated.
227
228
} elseif (empty ($ value ) && $ idAttributeValue === GlobalConstants::TEST_ID_ATTRIBUTE ) {
229
+ print "use of the 'mergeKey' attribute will be deprecated in the next release. \n" ;
228
230
$ idAttributeValue = GlobalConstants::DEPRECATED_TEST_ID_ATTRIBUTE ;
229
231
if ($ value = $ node ->getAttribute ($ idAttributeValue )) {
230
232
$ path .= "[@ {$ idAttributeValue }=' {$ value }'] " ;
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ public function convertXml(\DOMNode $source, $basePath = '')
86
86
}
87
87
88
88
$ nodeData = $ this ->convertXml ($ node , $ nodePath );
89
+
90
+ // TODO Remove the following if block once the 'mergeKey' attribute has been fully deprecated.
89
91
if (!isset ($ nodeData [GlobalConstants::TEST_ID_ATTRIBUTE ])
90
92
&& isset ($ nodeData [GlobalConstants::DEPRECATED_TEST_ID_ATTRIBUTE ])) {
91
93
$ nodeData [GlobalConstants::TEST_ID_ATTRIBUTE ] =
You can’t perform that action at this time.
0 commit comments