File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
dev/tests/static/testsuite/Magento/Test/Php Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -55,15 +55,12 @@ class LiveCodeTest extends \PHPUnit\Framework\TestCase
5555 */
5656 protected function setUp (): void
5757 {
58- if (!self ::$ executedCompilation ){
59- $ this ->_shell = new \Magento \Framework \Shell (new \Magento \Framework \Shell \CommandRenderer ());
60- $ basePath = BP ;
61- $ basePath = str_replace ('\\' , '/ ' , $ basePath );
62-
63- $ this ->_command = 'php ' . $ basePath . '/bin/magento setup:di:compile ' ;
64- $ this ->_shell ->execute ($ this ->_command );
65- self ::$ executedCompilation = true ;
66- }
58+ $ this ->_shell = new \Magento \Framework \Shell (new \Magento \Framework \Shell \CommandRenderer ());
59+ $ basePath = BP ;
60+ $ basePath = str_replace ('\\' , '/ ' , $ basePath );
61+
62+ $ this ->_command = 'php ' . $ basePath . '/bin/magento setup:di:compile ' ;
63+ self ::$ executedCompilation = true ;
6764 }
6865
6966 /**
You can’t perform that action at this time.
0 commit comments