Skip to content

Commit

Permalink
fix graphql test
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Charlie committed Dec 7, 2020
1 parent b85ba43 commit 32b93de
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,10 @@ public function testRedirectsAndCustomInput()
$urlRewriteModel->setRedirectType('301');
$urlRewriteModel->setId($urlRewriteModel->getId());
$urlRewriteModel->save();
ObjectManager::getInstance()->get(\Magento\TestFramework\Helper\CacheCleaner::class)->clean(['eav']);
//modifying query by adding spaces to avoid getting cached values.
$this->queryUrlAndAssertResponse(
(int) $product->getEntityId(),
$customUrl,
$customUrl . ' ',
$actualUrls->getRequestPath(),
strtoupper($actualUrls->getEntityType()),
301
Expand Down

0 comments on commit 32b93de

Please sign in to comment.