File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/Magento/FunctionalTestingFramework/DataGenerator/Util Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function __construct()
30
30
*/
31
31
public function extendEntity ($ entityObject )
32
32
{
33
- // Check to see if the parent test exists
33
+ // Check to see if the parent entity exists
34
34
$ parentEntity = DataObjectHandler::getInstance ()->getObject ($ entityObject ->getParentName ());
35
35
if ($ parentEntity == null ) {
36
36
throw new XmlException (
@@ -43,7 +43,7 @@ public function extendEntity($entityObject)
43
43
);
44
44
}
45
45
46
- // Check to see if the parent test is already an extended test
46
+ // Check to see if the parent entity is already an extended entity
47
47
if ($ parentEntity ->getParentName () !== null ) {
48
48
throw new XmlException (
49
49
"Cannot extend an entity that already extends another entity. Entity: " .
@@ -83,8 +83,7 @@ public function extendEntity($entityObject)
83
83
}
84
84
}
85
85
86
- // Create new Test object to return
87
- // Create new Test object to return
86
+ // Create new entity object to return
88
87
$ extendedEntity = new EntityDataObject (
89
88
$ entityObject ->getName (),
90
89
$ newType ,
You can’t perform that action at this time.
0 commit comments