Skip to content

Commit 17bd9b7

Browse files
committed
Updated Restreactive test with schemamapping
1 parent 850699a commit 17bd9b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/integration-tests/type-mapping/src/test/java/io/quarkiverse/openapi/generator/it/type/mapping/TypeAndImportMappingRestEasyReactiveTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ public void canMapTypesAndImportToDifferentValues() {
5858
typeMappingServer.verify(postRequestedFor(urlEqualTo("/type-mapping"))
5959
.withRequestBodyPart(new MultipartValuePatternBuilder()
6060
.withName("yearMonth")
61-
.withHeader(ContentTypeHeader.KEY, equalTo(MediaType.APPLICATION_JSON + "; charset=UTF-8"))
62-
.withBody(equalTo(testYearMonth.toString())).build()));
61+
.withHeader(ContentTypeHeader.KEY, equalTo(MediaType.APPLICATION_JSON))
62+
.withBody(equalTo("\"2024-06\"")).build()));
6363

6464
typeMappingServer.verify(postRequestedFor(urlEqualTo("/type-mapping"))
6565
.withRequestBodyPart(new MultipartValuePatternBuilder()

0 commit comments

Comments
 (0)