Skip to content

Commit 7ca421d

Browse files
committed
MC-36456: union implementation
1 parent fd298ba commit 7ca421d

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

dev/tests/api-functional/_files/Magento/TestModuleGraphQlQuery/Model/Resolver/UnionTypeResolver.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ public function resolveType(array $data): string
2424
}
2525
return '';
2626
}
27-
2827
}

dev/tests/api-functional/testsuite/Magento/GraphQl/TestModule/GraphQlQueryTest.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Magento\TestFramework\TestCase\GraphQlAbstract;
1111

1212
/**
13-
* Class GraphQlQueryTest
13+
* Test for basic GraphQl features
1414
*/
1515
class GraphQlQueryTest extends GraphQlAbstract
1616
{
@@ -25,15 +25,6 @@ public function testQueryTestModuleReturnsResults()
2525
item_id
2626
name
2727
}
28-
testUnion {
29-
__typename
30-
... on TypeCustom1 {
31-
custom_name1
32-
}
33-
... on TypeCustom2 {
34-
custom_name2
35-
}
36-
}
3728
}
3829
QUERY;
3930

0 commit comments

Comments
 (0)