Skip to content

Commit 07dbc78

Browse files
committed
MAGETWO-92986: Write Logs for Failed Process of Generating Factories in Extensions
1 parent 874fb22 commit 07dbc78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Code/Test/Unit/GeneratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ public function testGenerateClassWithErrors()
134134
'Error message 1',
135135
'Error message 2',
136136
];
137-
$mainErrorMessage = 'Class ' . $resultClassName . ' generation error: The requested class did not generate properly, '
138-
. 'because the \'generated\' directory permission is read-only. '
137+
$mainErrorMessage = 'Class ' . $resultClassName . ' generation error: The requested class did not generate '
138+
. 'properly, because the \'generated\' directory permission is read-only. '
139139
. 'If --- after running the \'bin/magento setup:di:compile\' CLI command when the \'generated\' '
140140
. 'directory permission is set to write --- the requested class did not generate properly, then '
141141
. 'you must add the generated class object to the signature of the related construct method, only.';

0 commit comments

Comments
 (0)