Skip to content

Commit

Permalink
Merge branch 'feature/PB-33587_Fix-typo-in-LatestVersionApplicationHe…
Browse files Browse the repository at this point in the history
…althcheck-error-message-ce' into 'release'

PB-33587 Fix typo in LatestVersionApplicationHealthcheck error message

See merge request passbolt/passbolt-ce-api!286
  • Loading branch information
pabloelcolombiano committed May 17, 2024
2 parents 0ac5ed7 + 2777632 commit 9a9db18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit 9a9db18

Please sign in to comment.