Remove double underscores from test names

This commit is contained in:
Maiklins 2023-10-05 23:54:24 +02:00 committed by GitHub
parent 505301d390
commit 7854c7336b
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ class ValidationControllerUnitTest {
ValidationService service; ValidationService service;
@Test @Test
void whenNullInputForBooleanField__thenHttpBadRequestAsHttpResponse() throws Exception { void whenNullInputForBooleanField_thenHttpBadRequestAsHttpResponse() throws Exception {
String postBody = "{\"boolField\":null,\"trueField\":true,\"falseField\":false,\"boolStringVar\":\"+\"}"; String postBody = "{\"boolField\":null,\"trueField\":true,\"falseField\":false,\"boolStringVar\":\"+\"}";
@ -46,7 +46,7 @@ class ValidationControllerUnitTest {
} }
@Test @Test
void whenInvalidInputForTrueBooleanField__thenErrorResponse() throws Exception { void whenInvalidInputForTrueBooleanField_thenErrorResponse() throws Exception {
String postBody = "{\"boolField\":true,\"trueField\":false,\"falseField\":false,\"boolStringVar\":\"+\"}"; String postBody = "{\"boolField\":true,\"trueField\":false,\"falseField\":false,\"boolStringVar\":\"+\"}";
@ -60,7 +60,7 @@ class ValidationControllerUnitTest {
} }
@Test @Test
void whenInvalidInputForFalseBooleanField__thenErrorResponse() throws Exception { void whenInvalidInputForFalseBooleanField_thenErrorResponse() throws Exception {
String postBody = "{\"boolField\":true,\"trueField\":true,\"falseField\":true,\"boolStringVar\":\"+\"}"; String postBody = "{\"boolField\":true,\"trueField\":true,\"falseField\":true,\"boolStringVar\":\"+\"}";