Skip to content

Commit 271f148

Browse files
committed
AC-1173: Change HTTPS setting to secure defaults
1 parent f1fb6d6 commit 271f148

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/integration/etc/install-config-mysql.php.dist

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@ return [
2323
'amqp-port' => '5672',
2424
'amqp-user' => 'guest',
2525
'amqp-password' => 'guest',
26-
'use-secure' => '0',
27-
'use-secure-admin' => '0',
2826
];

dev/tests/integration/framework/Magento/TestFramework/Application.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ protected function getInstallConfig()
276276
if (null === $this->installConfig) {
277277
// phpcs:ignore Magento2.Security.IncludeFile
278278
$this->installConfig = include $this->installConfigFile;
279+
$this->installConfig['use-secure'] = '0';
280+
$this->installConfig['use-secure-admin'] = '0';
279281
}
280282
return $this->installConfig;
281283
}
@@ -679,7 +681,7 @@ private function getInstallCliParams()
679681
$params['magento-init-params'] = $this->getInitParamsQuery();
680682
$result = [];
681683
foreach ($params as $key => $value) {
682-
if (strlen($value) > 0) {
684+
if (isset($value)) {
683685
$result["--{$key}=%s"] = $value;
684686
}
685687
}

0 commit comments

Comments
 (0)