Updated Test case
This commit is contained in:
parent
c8c573899f
commit
96ff2a982a
|
@ -105,7 +105,7 @@ class ValidationControllerUnitTest {
|
||||||
@Test
|
@Test
|
||||||
void testValidBean() throws Exception {
|
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")
|
String output = mockMvc.perform(post("/validateBoolean").contentType("application/json")
|
||||||
.content(postBody))
|
.content(postBody))
|
||||||
|
|
Loading…
Reference in New Issue