Skip to content

Commit 3c20c5c

Browse files
committed
B2B-2134: [AWS S3] setup:config:set command is removing S3 configuration
Static fixes
1 parent 811d100 commit 3c20c5c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/code/Magento/RemoteStorage/Test/Unit/Setup/ConfigOptionsListTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
use Magento\Framework\App\DeploymentConfig;
1010
use Magento\Framework\Exception\LocalizedException;
11+
use Magento\RemoteStorage\Driver\DriverFactoryInterface;
1112
use Magento\RemoteStorage\Driver\DriverFactoryPool;
1213
use Magento\RemoteStorage\Driver\RemoteDriverInterface;
1314
use Magento\RemoteStorage\Setup\ConfigOptionsList;
14-
use Magento\RemoteStorage\Driver\DriverFactoryInterface;
1515
use PHPUnit\Framework\MockObject\MockObject;
1616
use PHPUnit\Framework\TestCase;
1717
use Psr\Log\LoggerInterface;
@@ -70,11 +70,10 @@ public function testValidate(array $input, bool $isDeploymentConfigExists, array
7070
->method('getConfigData')
7171
->willReturn($isDeploymentConfigExists);
7272

73-
$isConnectionToBeTested = $isDeploymentConfigExists &&
74-
isset(
73+
$isConnectionToBeTested = $isDeploymentConfigExists && isset(
7574
$input['remote-storage-region'],
7675
$input['remote-storage-bucket']
77-
);
76+
);
7877

7978
if ($isConnectionToBeTested) {
8079
$driverFactoryMock = $this->getMockBuilder(DriverFactoryInterface::class)

0 commit comments

Comments
 (0)