Skip to content

Commit

Permalink
fix: cs fixer and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ga-devfront committed Nov 6, 2024
1 parent dee1732 commit 7c3a93b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/Commands/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected function execute(InputInterface $input, OutputInterface $output): ?int
$controller->setOptions([
'data' => $input->getOption('data'),
'action' => $input->getOption('action'),
UpgradeConfiguration::CHANNEL => $input->getOption(UpgradeConfiguration::CHANNEL),
UpgradeConfiguration::CHANNEL => $input->getOption('channel'),
]);
$controller->init();
$exitCode = $controller->run();
Expand Down
1 change: 0 additions & 1 deletion classes/Task/Update/UpdateComplete.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

use Exception;
use PrestaShop\Module\AutoUpgrade\Analytics;
use PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration;
use PrestaShop\Module\AutoUpgrade\Task\AbstractTask;
use PrestaShop\Module\AutoUpgrade\Task\ExitCode;
use PrestaShop\Module\AutoUpgrade\Task\TaskName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use PHPUnit\Framework\TestCase;
use PrestaShop\Module\AutoUpgrade\Parameters\LocalChannelConfigurationValidator;
use PrestaShop\Module\AutoUpgrade\Parameters\UpgradeConfiguration;
use PrestaShop\Module\AutoUpgrade\UpgradeContainer;

class LocalChannelConfigurationValidatorTest extends TestCase
Expand Down

0 comments on commit 7c3a93b

Please sign in to comment.