Skip to content

Commit f1dd33f

Browse files
author
Egor Shitikov
committed
MAGETWO-34014: Create fixture or script for changing Magento FPC ttl
1 parent fa1503b commit f1dd33f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

dev/tools/performance-toolkit/fixtures/configs_apply.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ public function execute()
2121
{
2222
$configs = \Magento\ToolkitFramework\Config::getInstance()->getValue('configs', []);
2323
$this->application->resetObjectManager();
24-
/**
25-
* @var \Magento\Framework\App\Config\Value $configData
26-
*/
27-
$configData = $this->application->getObjectManager()->create('Magento\Framework\App\Config\Value');
24+
2825
foreach ($configs['config'] as $config) {
29-
$configData->setPath($config['path'])
26+
/**
27+
* @var \Magento\Framework\App\Config\Value $configData
28+
*/
29+
$configData = $this->application->getObjectManager()->create('Magento\Framework\App\Config\Value');
30+
$configData->setPatho($cnfig['path'])
3031
->setScope($config['scope'])
3132
->setScopeId($config['scopeId'])
3233
->setValue($config['value'])

0 commit comments

Comments
 (0)