diff --git a/src/Service/Healthcheck/Application/LatestVersionApplicationHealthcheck.php b/src/Service/Healthcheck/Application/LatestVersionApplicationHealthcheck.php index 52565993ac..931004a209 100644 --- a/src/Service/Healthcheck/Application/LatestVersionApplicationHealthcheck.php +++ b/src/Service/Healthcheck/Application/LatestVersionApplicationHealthcheck.php @@ -166,7 +166,7 @@ public function getFailureMessage(): string if ($this->exceptionThrown) { $msg = __('Could not connect to passbolt repository to check versions.'); $msg .= ' '; - $msg .= __('It is not possible check if your version is up to date.'); + $msg .= __('It is not possible to check if your version is up-to-date.'); } return $msg; diff --git a/tests/TestCase/Service/Healthcheck/Application/LatestVersionApplicationHealthcheckTest.php b/tests/TestCase/Service/Healthcheck/Application/LatestVersionApplicationHealthcheckTest.php index 59bb975034..535a7c888d 100644 --- a/tests/TestCase/Service/Healthcheck/Application/LatestVersionApplicationHealthcheckTest.php +++ b/tests/TestCase/Service/Healthcheck/Application/LatestVersionApplicationHealthcheckTest.php @@ -59,7 +59,7 @@ public function testLatestVersionApplicationHealthcheck_Error_GithubNotReachable $this->assertFalse($service->isPassed()); $this->assertSame('undefined', $service->getRemoteVersion()); - $expectedFailureMessage = 'Could not connect to passbolt repository to check versions. It is not possible check if your version is up to date.'; + $expectedFailureMessage = 'Could not connect to passbolt repository to check versions. It is not possible to check if your version is up-to-date.'; $this->assertSame($expectedFailureMessage, $service->getFailureMessage()); } }