File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/UrlRewrite Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,13 @@ class UrlResolverTest extends GraphQlAbstract
20
20
/** @var ObjectManager */
21
21
private $ objectManager ;
22
22
23
- /**
24
- * @var \Magento\CatalogUrlRewrite\Model\ProductUrlPathGenerator
25
- */
26
- private $ urlPathGenerator ;
27
-
28
23
protected function setUp ()
29
24
{
30
25
$ this ->objectManager = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ();
31
26
}
32
27
33
28
/**
34
- * Tests if the target_path(canonical_url) when a Product entity with a valid url_key (request_path) is provided
29
+ * Tests if target_path(canonical_url) is resolved for Product entity
35
30
*
36
31
* @magentoApiDataFixture Magento/CatalogUrlRewrite/_files/product_with_category.php
37
32
*/
@@ -74,7 +69,9 @@ public function testProductUrlResolver()
74
69
}
75
70
76
71
/**
77
- * @magentoApiDataFixture Magento/CatalogUrlRewrite/_files/product_with_category.php
72
+ * Tests the use case where canonical_url is provided as resolver input in the Query
73
+ *
74
+ * @magentoApiDataFixture Magento/CatalogUrlRewrite/_files/product_with_category.php
78
75
*/
79
76
public function testProductUrlWithCanonicalUrlInput ()
80
77
{
@@ -117,7 +114,8 @@ public function testProductUrlWithCanonicalUrlInput()
117
114
}
118
115
119
116
/**
120
- *Test the
117
+ * Test for category entity
118
+ *
121
119
* @magentoApiDataFixture Magento/CatalogUrlRewrite/_files/product_with_category.php
122
120
*/
123
121
public function testCategoryUrlResolver ()
You can’t perform that action at this time.
0 commit comments