File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ class UrlRewritesTest extends GraphQlAbstract
25
25
*/
26
26
public function testProductWithNoCategoriesAssigned ()
27
27
{
28
-
28
+ $ productSku = ' virtual-product ' ;
29
29
$ query
30
30
= <<<QUERY
31
31
{
32
- products (search:"Virtual Product" ) {
32
+ products (filter: {sku: {eq: " { $ productSku } "}} ) {
33
33
items {
34
34
name,
35
35
sku,
@@ -79,11 +79,11 @@ public function testProductWithNoCategoriesAssigned()
79
79
*/
80
80
public function testProductWithOneCategoryAssigned ()
81
81
{
82
-
82
+ $ productSku = ' simple ' ;
83
83
$ query
84
84
= <<<QUERY
85
85
{
86
- products (search:"Simple Product" ) {
86
+ products (filter: {sku: {eq: " { $ productSku } "}} ) {
87
87
items {
88
88
name,
89
89
sku,
You can’t perform that action at this time.
0 commit comments