Skip to content

Commit 2ec898f

Browse files
committed
MAGETWO-58014: [GitHub] page cache also caches breadcrumbs #5502
1 parent c1361ea commit 2ec898f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/Constraint/AssertProductViewBreadcrumbsCategory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function processAssert(
4747
$cmsIndex->getTopmenu()->selectCategoryByName($category->getName());
4848

4949
$productItem = $catalogCategoryView->getListProductBlock()->getProductItem($product);
50-
\PHPUnit_Framework_Assert::assertTrue(
50+
\PHPUnit\Framework\Assert::assertTrue(
5151
$productItem->isVisible(),
5252
'Product is not present in category.'
5353
);
@@ -58,7 +58,7 @@ public function processAssert(
5858

5959
$breadcrumbs = $catalogProductView->getBreadcrumbs()->getCrumbs();
6060

61-
\PHPUnit_Framework_Assert::assertContains(
61+
\PHPUnit\Framework\Assert::assertContains(
6262
$category->getName(),
6363
$breadcrumbs,
6464
'Product view page has incorrect breadcrumbs.'

0 commit comments

Comments
 (0)