Polish "Add support for empty password in bitnami/postgresql"

See gh-43771
This commit is contained in:
Andy Wilkinson
2025-01-15 11:32:27 +00:00
parent 2f178188d1
commit b601282b57
5 changed files with 3 additions and 34 deletions

View File

@@ -39,7 +39,7 @@ class PostgresEnvironmentTests {
@Test
void createWhenNoPostgresPasswordThrowsException() {
assertThatIllegalStateException().isThrownBy(() -> new PostgresEnvironment(Collections.emptyMap()))
.withMessage("PostgreSQL password must be provided");
.withMessage("No PostgreSQL password found");
}
@Test