File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -292,11 +292,8 @@ public function testQueryAllFieldsSimpleProduct()
292
292
'Filter category ' ,
293
293
$ responseObject ->getData ('products/items/0/categories/1/name ' )
294
294
);
295
- $ storeManager = ObjectManager::getInstance ()->get (\Magento \Store \Model \StoreManagerInterface::class);
296
- self ::assertEquals (
297
- $ storeManager ->getStore ()->getBaseUrl () . 'simple-product.html ' ,
298
- $ responseObject ->getData ('products/items/0/canonical_url ' )
299
- );
295
+ //canonical_url will be null unless the admin setting catalog/seo/product_canonical_tag is turned ON
296
+ self ::assertNull ($ responseObject ->getData ('products/items/0/canonical_url ' ));
300
297
}
301
298
302
299
/**
You can’t perform that action at this time.
0 commit comments