Skip to content

Commit

Permalink
MAGETWO-82753: "Ignore this notification" isn't working #11410
Browse files Browse the repository at this point in the history
  • Loading branch information
ishakhsuvarov authored Oct 27, 2017
2 parents 010322b + 5b14bf4 commit 6dca0c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ public function execute()
}

// clear the block html cache
$this->_cacheTypeList->cleanType('block_html');
$this->_eventManager->dispatch('adminhtml_cache_refresh_type', ['type' => 'block_html']);
$this->_cacheTypeList->cleanType('config');
$this->_eventManager->dispatch('adminhtml_cache_refresh_type', ['type' => 'config']);

/** @var \Magento\Backend\Model\View\Result\Redirect $resultRedirect */
$resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function testExecute()
->getMock();
$cacheTypeList->expects($this->once())
->method('cleanType')
->with('block_html')
->with('config')
->willReturn(null);

$request = $this->getMockBuilder(\Magento\Framework\App\Request\Http::class)
Expand Down

0 comments on commit 6dca0c1

Please sign in to comment.