Skip to content

Commit

Permalink
Fixed input to invalid syntax test not being invalid.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccoystephenson committed Mar 29, 2023
1 parent 2cb2bbc commit 9daaf0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void emptyRequestShouldReturnEmptyError() {

@Test
public void invalidJsonSyntaxShouldReturnJsonSyntaxError() {
ResponseEntity<String> actualResponse = testTimDepositController.postTim("{\"invalid\":\"json\"}}");
ResponseEntity<String> actualResponse = testTimDepositController.postTim("{\"in\"va}}}on\"}}");
assertEquals("{\"error\":\"Malformed or non-compliant JSON syntax.\"}", actualResponse.getBody());
}

Expand Down

0 comments on commit 9daaf0f

Please sign in to comment.