Skip to content

Commit cf91199

Browse files
committed
MAGECLOUD-3246: Add --use-rewrites option to install command
1 parent 21d353e commit cf91199

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Process/Deploy/InstallUpdate/Install/Setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private function getBaseCommand(): string
146146
. ' --backend-frontname=' . escapeshellarg($this->environment->getAdminUrl()
147147
?: Environment::DEFAULT_ADMIN_URL)
148148
. ($this->environment->getAdminEmail() ? $this->getAdminCredentials() : '')
149-
. ' --use-secure-admin=1 --ansi --no-interaction';
149+
. ' --use-secure-admin=1 --use-rewrites=1 --ansi --no-interaction';
150150
}
151151

152152
/**

src/Test/Unit/Process/Deploy/InstallUpdate/Install/SetupTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public function testExecute(
194194
. ' --timezone=America/Los_Angeles --db-host=\'localhost\' --db-name=\'magento\' --db-user=\'user\''
195195
. ' --backend-frontname=\'' . $adminUrlExpected . '\''
196196
. $adminCredential
197-
. ' --use-secure-admin=1 --ansi --no-interaction'
197+
. ' --use-secure-admin=1 --use-rewrites=1 --ansi --no-interaction'
198198
. ' --db-password=\'password\' -v'
199199
. ' | tee -a ' . $installUpgradeLog . '"']
200200
);

0 commit comments

Comments
 (0)