Skip to content

Commit

Permalink
PB-33587 Fix typo in LatestVersionApplicationHealthcheck error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanvyas22 committed May 17, 2024
1 parent 0ac5ed7 commit 2777632
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 2777632

Please sign in to comment.