Skip to content

Commit 3e86197

Browse files
committed
11882: It's not possible to enable "log to file" (debugging) in production mode. Psr logger debug method does not work by the default in developer mode.
1 parent cbbcc1e commit 3e86197

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/tests/functional/tests/app/Magento/Backend/Test/Constraint/AssertDeveloperSectionVisibility.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class AssertDeveloperSectionVisibility extends AbstractConstraint
3838
*/
3939
public function processAssert(SystemConfigEdit $configEdit)
4040
{
41+
$configEdit->open();
4142
if ($_ENV['mage_mode'] === 'production') {
4243
foreach ($this->groups as $group) {
4344
\PHPUnit_Framework_Assert::assertFalse(

0 commit comments

Comments
 (0)