Skip to content

Commit 7ad78c9

Browse files
authored
Update BreadcrumbsTest.php
1 parent 2305acc commit 7ad78c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Catalog/Test/Unit/ViewModel/Product/BreadcrumbsTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,21 +152,21 @@ public function productJsonEncodeDataProvider() : array
152152
return [
153153
[
154154
$this->getObjectManager()->getObject(Product::class, ['data' => ['name' => 'Test ™']]),
155-
'{"breadcrumbs":{"categoryUrlSuffix":"."html","userCategoryPathInUrl":0,"product":"Test \u2122"}}',
155+
'{"breadcrumbs":{"categoryUrlSuffix":"."html","useCategoryPathInUrl":0,"product":"Test \u2122"}}',
156156
],
157157
[
158158
$this->getObjectManager()->getObject(Product::class, ['data' => ['name' => 'Test "']]),
159-
'{"breadcrumbs":{"categoryUrlSuffix":"."html","userCategoryPathInUrl":0,"product":"Test ""}}',
159+
'{"breadcrumbs":{"categoryUrlSuffix":"."html","useCategoryPathInUrl":0,"product":"Test ""}}',
160160
],
161161
[
162162
$this->getObjectManager()->getObject(Product::class, ['data' => ['name' => 'Test <b>x</b>']]),
163-
'{"breadcrumbs":{"categoryUrlSuffix":".&quot;html","userCategoryPathInUrl":0,"product":'
163+
'{"breadcrumbs":{"categoryUrlSuffix":".&quot;html","useCategoryPathInUrl":0,"product":'
164164
. '"Test &lt;b&gt;x&lt;\/b&gt;"}}',
165165
],
166166
[
167167
$this->getObjectManager()->getObject(Product::class, ['data' => ['name' => 'Test \'abc\'']]),
168168
'{"breadcrumbs":'
169-
. '{"categoryUrlSuffix":".&quot;html","userCategoryPathInUrl":0,"product":"Test &#039;abc&#039;"}}'
169+
. '{"categoryUrlSuffix":".&quot;html","useCategoryPathInUrl":0,"product":"Test &#039;abc&#039;"}}'
170170
],
171171
];
172172
}

0 commit comments

Comments
 (0)