Polish
See gh-38389
This commit is contained in:
committed by
Moritz Halbritter
parent
9c43ed716a
commit
175b6473c7
@@ -81,7 +81,7 @@ class MailHealthIndicatorTests {
|
||||
assertThat(health.getDetails()).doesNotContainKey("location");
|
||||
Object errorMessage = health.getDetails().get("error");
|
||||
assertThat(errorMessage).isNotNull();
|
||||
assertThat(errorMessage.toString().contains("A test exception")).isTrue();
|
||||
assertThat(errorMessage.toString()).contains("A test exception");
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -104,7 +104,7 @@ class MailHealthIndicatorTests {
|
||||
assertThat(health.getDetails().get("location")).isEqualTo(":1234");
|
||||
Object errorMessage = health.getDetails().get("error");
|
||||
assertThat(errorMessage).isNotNull();
|
||||
assertThat(errorMessage.toString().contains("A test exception")).isTrue();
|
||||
assertThat(errorMessage.toString()).contains("A test exception");
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -125,7 +125,7 @@ class MailHealthIndicatorTests {
|
||||
assertThat(health.getDetails()).containsEntry("location", "smtp.acme.org");
|
||||
Object errorMessage = health.getDetails().get("error");
|
||||
assertThat(errorMessage).isNotNull();
|
||||
assertThat(errorMessage.toString().contains("A test exception")).isTrue();
|
||||
assertThat(errorMessage.toString()).contains("A test exception");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user