Skip to content

Commit cba3284

Browse files
committed
fix: correct naming for allowReserved cases
1 parent 4ac7975 commit cba3284

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

test/compatibility-suites/openapi/request.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,14 @@ describe('Openapi3 Request', () => {
168168
expect(result).toEqual([])
169169
})
170170

171-
test('Add allowReserved attribute with default value for request body content media type encoding', async () => {
172-
const testId = 'add-allowReserved-with-default-value-for-requestBody-content-media-type-encoding'
171+
test('Add allowReserved attribute with default value for request body parameter encoding', async () => {
172+
const testId = 'add-allowReserved-with-default-value-for-requestBody-parameter-encoding'
173173
const result = await compareFiles(SUITE_ID, testId)
174174
expect(result).toEqual([])
175175
})
176176

177-
test('Remove allowReserved attribute with default value from request body content media type encoding', async () => {
178-
const testId = 'remove-allowReserved-with-default-value-from-requestBody-content-media-type-encoding'
177+
test('Remove allowReserved attribute with default value from request body parameter encoding', async () => {
178+
const testId = 'remove-allowReserved-with-default-value-from-requestBody-parameter-encoding'
179179
const result = await compareFiles(SUITE_ID, testId)
180180
expect(result).toEqual([])
181181
})

test/compatibility-suites/openapi/response.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,14 @@ describe('Openapi3 Response', () => {
191191

192192
describe('Add/remove default values', () => {
193193

194-
test('Add allowReserved attribute with default value for encoding', async () => {
195-
const testId = 'add-allowReserved-attribute-with-default-value-for-encoding'
194+
test('Add allowReserved attribute with default value for response parameter encoding', async () => {
195+
const testId = 'add-allowReserved-attribute-with-default-value-for-response-parameter-encoding'
196196
const result = await compareFiles(SUITE_ID, testId)
197197
expect(result).toEqual([])
198198
})
199199

200-
test('Remove allowReserved attribute with default value for encoding', async () => {
201-
const testId = 'remove-allowReserved-attribute-with-default-value-from-encoding'
200+
test('Remove allowReserved attribute with default value from response parameter encoding', async () => {
201+
const testId = 'remove-allowReserved-attribute-with-default-value-from-response-parameter-encoding'
202202
const result = await compareFiles(SUITE_ID, testId)
203203
expect(result).toEqual([])
204204
})

0 commit comments

Comments
 (0)