Updated Test case

This commit is contained in:
Niket Agrawal 2023-09-24 02:08:16 +05:30
parent c8c573899f
commit 96ff2a982a
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class ValidationControllerUnitTest {
@Test
void testValidBean() throws Exception {
String postBody = "{\"boolField\":true,\"trueField\":true,\"falseField\":false,\"boolStringVar\":\"TRUE\"}";
String postBody = "{\"boolField\":true,\"trueField\":true,\"falseField\":false,\"boolStringVar\":\"+\"}";
String output = mockMvc.perform(post("/validateBoolean").contentType("application/json")
.content(postBody))