Skip to content

Commit 791ea8c

Browse files
committed
updated test
1 parent 81b40b8 commit 791ea8c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

springdoc-openapi-data-rest/src/test/java/test/org/springdoc/api/app100/SpringDocApp100Test.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ public void testApp() throws Exception {
3434
.andExpect(jsonPath("$.paths./test.get.parameters[2].name")
3535
.value("name"))
3636
.andExpect(jsonPath("$.paths./test.get.parameters[3].name")
37-
.value("notCode"))
37+
.value("postCode"))
3838
.andExpect(jsonPath("$.paths./test.get.parameters[4].name")
39-
.value("status"))
40-
.andExpect(jsonPath("$.paths./test.get.parameters[4].schema.enum").isArray());
39+
.value("id"));
4140
}
4241

4342
public enum Status {

0 commit comments

Comments
 (0)