Skip to content

Commit 931133a

Browse files
Merge forwardport of #11410 to 2.3-develop branch
Applied pull request patch https://github.com/magento/magento2/pull/11410.patch (created by @crissanclick) based on commit(s): 1. 6862db0 2. 4c698c2 Fixed GitHub Issues in 2.3-develop branch: - #11365: "Ignore this notification" isn't working (reported by @sigismund)
2 parents 8e77e2f + ad6c0af commit 931133a

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)