From 7854c7336b2c329e6525b118a7648abd6a628c5b Mon Sep 17 00:00:00 2001 From: Maiklins Date: Thu, 5 Oct 2023 23:54:24 +0200 Subject: [PATCH] Remove double underscores from test names --- .../baeldung/controller/ValidationControllerUnitTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-modules/spring-boot-validations/src/test/java/com/baeldung/controller/ValidationControllerUnitTest.java b/spring-boot-modules/spring-boot-validations/src/test/java/com/baeldung/controller/ValidationControllerUnitTest.java index 51cdb22780..759007ed36 100644 --- a/spring-boot-modules/spring-boot-validations/src/test/java/com/baeldung/controller/ValidationControllerUnitTest.java +++ b/spring-boot-modules/spring-boot-validations/src/test/java/com/baeldung/controller/ValidationControllerUnitTest.java @@ -35,7 +35,7 @@ class ValidationControllerUnitTest { ValidationService service; @Test - void whenNullInputForBooleanField__thenHttpBadRequestAsHttpResponse() throws Exception { + void whenNullInputForBooleanField_thenHttpBadRequestAsHttpResponse() throws Exception { String postBody = "{\"boolField\":null,\"trueField\":true,\"falseField\":false,\"boolStringVar\":\"+\"}"; @@ -46,7 +46,7 @@ class ValidationControllerUnitTest { } @Test - void whenInvalidInputForTrueBooleanField__thenErrorResponse() throws Exception { + void whenInvalidInputForTrueBooleanField_thenErrorResponse() throws Exception { String postBody = "{\"boolField\":true,\"trueField\":false,\"falseField\":false,\"boolStringVar\":\"+\"}"; @@ -60,7 +60,7 @@ class ValidationControllerUnitTest { } @Test - void whenInvalidInputForFalseBooleanField__thenErrorResponse() throws Exception { + void whenInvalidInputForFalseBooleanField_thenErrorResponse() throws Exception { String postBody = "{\"boolField\":true,\"trueField\":true,\"falseField\":true,\"boolStringVar\":\"+\"}";