Merge pull request #50492 from Abdlatif-nabgha

* improve-test-method-name:
  Polish "Fix typo in test method"
  Fix typo in test method

Closes gh-50492
This commit is contained in:
Stéphane Nicoll
2026-05-25 17:08:36 +02:00
3 changed files with 3 additions and 3 deletions
@@ -90,7 +90,7 @@ class RemoteClientConfigurationTests {
}
@Test
void doesntWarnIfUsingHttps(CapturedOutput output) {
void doesNotWarnIfUsingHttps(CapturedOutput output) {
configure("https://localhost", true);
assertThat(output).doesNotContain("is insecure");
}
@@ -46,7 +46,7 @@ class SilentExitExceptionHandlerTests {
}
@Test
void doesntInterfereWithOtherExceptions() throws Exception {
void doesNotInterfereWithOtherExceptions() throws Exception {
TestThread testThread = new TestThread() {
@Override
public void run() {
@@ -226,7 +226,7 @@ abstract class AbstractFilterRegistrationBeanTests {
}
@Test
void doesntFailIfDoubleRegistrationIsIgnored() {
void doesNotFailIfDoubleRegistrationIsIgnored() {
assertThatCode(() -> {
AbstractFilterRegistrationBean<?> bean = createFilterRegistrationBean();
bean.setName("double-registration");