@@ -60,7 +60,7 @@ describe("openAPIRoute", () => {
60
60
} ,
61
61
) ;
62
62
63
- const req = mockRequest ( { name : "John" } , { age : 30 } , { id : "123" } ) ;
63
+ const req = mockRequest ( { name : "John" } , { age : 30 , name : "John" } , { id : "123" } ) ;
64
64
const res = mockResponse ( ) ;
65
65
const next = mockNext ( ) ;
66
66
@@ -75,7 +75,7 @@ describe("openAPIRoute", () => {
75
75
res . json ( { success : true } ) ;
76
76
} ) ;
77
77
78
- const req = mockRequest ( { name : 123 } , { age : 30 } , { id : "123" } ) ;
78
+ const req = mockRequest ( { name : 123 } , { age : 30 , name : "John" } , { id : "123" } ) ;
79
79
const res = mockResponse ( ) ;
80
80
const next = mockNext ( ) ;
81
81
@@ -91,7 +91,7 @@ describe("openAPIRoute", () => {
91
91
res . json ( { success : true } ) ;
92
92
} ) ;
93
93
94
- const req = mockRequest ( { name : "John" } , { age : "thirty" } , { id : "123" } ) ;
94
+ const req = mockRequest ( { name : "John" } , { age : "thirty" , name : "John" } , { id : "123" } ) ;
95
95
const res = mockResponse ( ) ;
96
96
const next = mockNext ( ) ;
97
97
@@ -107,7 +107,7 @@ describe("openAPIRoute", () => {
107
107
res . json ( { success : true } ) ;
108
108
} ) ;
109
109
110
- const req = mockRequest ( { name : "John" } , { age : 30 } , { id : 123 } ) ;
110
+ const req = mockRequest ( { name : "John" } , { age : 30 , name : "John" } , { id : 123 } ) ;
111
111
const res = mockResponse ( ) ;
112
112
const next = mockNext ( ) ;
113
113
@@ -124,7 +124,7 @@ describe("openAPIRoute", () => {
124
124
res . json ( { success : "true" } ) ;
125
125
} ) ;
126
126
127
- const req = mockRequest ( { name : "John" } , { age : 30 } , { id : "123" } ) ;
127
+ const req = mockRequest ( { name : "John" } , { age : 30 , name : "John" } , { id : "123" } ) ;
128
128
const res = mockResponse ( ) ;
129
129
const next = mockNext ( ) ;
130
130
0 commit comments