File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ public function testMediaGalleryTypesAreCorrect()
87
87
*/
88
88
public function testProductMediaGalleryEntries ()
89
89
{
90
- $ this ->markTestSkipped ('https://github.com/magento/graphql-ce/issues/738 ' );
91
90
$ productSku = 'simple ' ;
92
91
$ query = <<<QUERY
93
92
{
@@ -107,7 +106,10 @@ public function testProductMediaGalleryEntries()
107
106
$ response = $ this ->graphQlQuery ($ query );
108
107
109
108
self ::assertArrayHasKey ('file ' , $ response ['products ' ]['items ' ][0 ]['media_gallery_entries ' ][0 ]);
110
- self ::assertContains ('magento_image.jpg ' , $ response ['products ' ]['items ' ][0 ]['media_gallery_entries ' ][0 ]['url ' ]);
109
+ self ::assertContains (
110
+ 'magento_image.jpg ' ,
111
+ $ response ['products ' ]['items ' ][0 ]['media_gallery_entries ' ][0 ]['file ' ]
112
+ );
111
113
}
112
114
113
115
/**
You can’t perform that action at this time.
0 commit comments