diff --git a/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls.php b/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls.php index 222673b00..39d4d516b 100644 --- a/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls.php +++ b/src/Step/Deploy/InstallUpdate/ConfigUpdate/Urls.php @@ -81,13 +81,13 @@ public function execute() if ($this->environment->isMasterBranch()) { $this->logger->info( 'Skipping URL updates because we are deploying to a Production or Staging environment.' - . ' You can override this behavior by setting the FORCE_URL_UPDATES variable to true.' + . ' You can override this behavior by setting the FORCE_UPDATE_URLS variable to true.' ); return; } if (!$this->stageConfig->get(DeployInterface::VAR_UPDATE_URLS)) { - $this->logger->info('Skipping URL updates because the URL_UPDATES variable is set to false.'); + $this->logger->info('Skipping URL updates because the UPDATE_URLS variable is set to false.'); return; } } diff --git a/src/Test/Unit/Step/Deploy/InstallUpdate/ConfigUpdate/UrlsTest.php b/src/Test/Unit/Step/Deploy/InstallUpdate/ConfigUpdate/UrlsTest.php index 2848d4474..7e5f9226a 100644 --- a/src/Test/Unit/Step/Deploy/InstallUpdate/ConfigUpdate/UrlsTest.php +++ b/src/Test/Unit/Step/Deploy/InstallUpdate/ConfigUpdate/UrlsTest.php @@ -159,7 +159,7 @@ public function testExecuteSkippedUpdateUrlsIsFalse() }); $this->loggerMock->expects($this->once()) ->method('info') - ->with($this->stringContains('Skipping URL updates because the URL_UPDATES variable is set to false.')); + ->with($this->stringContains('Skipping URL updates because the UPDATE_URLS variable is set to false.')); $this->databaseUrlMock->expects($this->never()) ->method('execute'); $this->environmentUrlMock->expects($this->never())