Skip to content

Commit 85fb80a

Browse files
committed
Adjust test case to trigger a Jackson exception even with 2.18.3
1 parent eb6aa7d commit 85fb80a

File tree

1 file changed

+3
-1
lines changed
  • integration-tests/funqy-amazon-lambda/src/test/java/io/quarkus/funqy/test

1 file changed

+3
-1
lines changed

integration-tests/funqy-amazon-lambda/src/test/java/io/quarkus/funqy/test/GreetTestBase.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ public void testGreet() {
2626
@Test
2727
public void testGreetNPE() {
2828
given()
29+
.contentType("application/json")
30+
.accept("application/json")
31+
.body("[]")
2932
.when()
3033
.post()
3134
.then()
3235
.statusCode(500)
3336
.body("errorMessage", containsString("Could not deserialize the provided message"));
3437
}
35-
3638
}

0 commit comments

Comments
 (0)