Skip to content

Commit e6deb9c

Browse files
committed
MC-32014: Remove google-shopping-ads module from core in 2.4.1
1 parent c172ef3 commit e6deb9c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

dev/tests/integration/bin/magento

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ try {
3333
try {
3434
$handler = new \Magento\Framework\App\ErrorHandler();
3535
set_error_handler([$handler, 'handler']);
36-
$application = new CliProxy('Magento CLI');
36+
if ($_SERVER['INTEGRATION_TESTS_CLI_AUTOLOADER']) {
37+
$application = new CliProxy('Magento CLI');
38+
} else {
39+
$application = new Cli('Magento CLI');
40+
}
3741
$application->run();
3842
} catch (\Exception $e) {
3943
while ($e) {

dev/tests/integration/framework/Magento/TestFramework/Console/CliProxy.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
use Symfony\Component\Console\Input\InputInterface;
1414
use Symfony\Component\Console\Output\OutputInterface;
1515

16+
/**
17+
* Provides the ability to inject additional DI configuration to call a CLI command
18+
*/
1619
class CliProxy implements \Magento\Framework\ObjectManager\NoninterceptableInterface
1720
{
1821
/**

0 commit comments

Comments
 (0)