Skip to content

Commit 1dc10a9

Browse files
committed
MAGETWO-96463: Add caching to improve admin performance
- fix integration test
1 parent fe971c2 commit 1dc10a9

File tree

1 file changed

+2
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Theme/Model/View

1 file changed

+2
-0
lines changed

dev/tests/integration/testsuite/Magento/Theme/Model/View/DesignTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ public function testGetConfigCustomized()
203203
<view><vars module="Namespace_Module"><var name="customVar">custom value</var></vars></view>'
204204
);
205205

206+
\Magento\TestFramework\Helper\CacheCleaner::cleanAll();
207+
206208
$config = $this->_viewConfig->getViewConfig();
207209
$this->assertInstanceOf(\Magento\Framework\Config\View::class, $config);
208210
$this->assertEquals(['customVar' => 'custom value'], $config->getVars('Namespace_Module'));

0 commit comments

Comments
 (0)