Skip to content

Commit 6dca0c1

Browse files
MAGETWO-82753: "Ignore this notification" isn't working #11410
2 parents 010322b + 5b14bf4 commit 6dca0c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Tax/Controller/Adminhtml/Tax/IgnoreTaxNotification.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public function execute()
5151
}
5252

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

5757
/** @var \Magento\Backend\Model\View\Result\Redirect $resultRedirect */
5858
$resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);

app/code/Magento/Tax/Test/Unit/Controller/Adminhtml/Tax/IgnoreTaxNotificationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function testExecute()
1919
->getMock();
2020
$cacheTypeList->expects($this->once())
2121
->method('cleanType')
22-
->with('block_html')
22+
->with('config')
2323
->willReturn(null);
2424

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

0 commit comments

Comments
 (0)