config.php 407 B

123456789101112131415
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. /** @var Value $config */
  7. use Magento\Framework\App\Config\Value;
  8. $config = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(Value::class);
  9. $config->setPath('catalog/review/allow_guest');
  10. $config->setScope('default');
  11. $config->setScopeId(0);
  12. $config->setValue(1);
  13. $config->save();