Skip to content

Commit 605d89a

Browse files
committed
MCP-903: Fix default connection = db setting after Magento installation
- Make db connection as a default for web api tests queues;
1 parent 4e150b1 commit 605d89a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dev/tests/api-functional/config/post-install-setup-command-config.php.dist

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66

77
// List of bin/magento setup CLI commands to run after setup:install
88
return [
9-
/*
109
[
1110
'command' => 'setup:config:set',
1211
'config' => [
12+
'--queue-default-connection' => 'db'
13+
/*
1314
'--remote-storage-driver' => 'aws-s3',
1415
'--remote-storage-bucket' => 'myBucket',
1516
'--remote-storage-region' => 'us-east-1'
17+
*/
1618
]
1719
]
18-
*/
1920
];

setup/src/Magento/Setup/Test/Unit/Model/ConfigOptionsList/LockTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public function testCreateConfig(array $options, array $expectedResult)
8585

8686
/**
8787
* @return array
88+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
8889
*/
8990
public function createConfigDataProvider(): array
9091
{

0 commit comments

Comments
 (0)