Skip to content

Commit bfcec48

Browse files
committed
test(authorization): correct OAS3 fixtures
Refs #1562
1 parent 78599a3 commit bfcec48

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

test/oas3/execute/authorization.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
import xmock from 'xmock'
2-
import path from 'path'
3-
import fs from 'fs'
41
import btoa from 'btoa'
5-
import jsYaml from 'js-yaml'
62

7-
import {execute, buildRequest, baseUrl, applySecurities, self as stubs} from '../../../src/execute'
3+
import {buildRequest} from '../../../src/execute'
84

95

106
// OAS 3.0 Authorization
@@ -55,7 +51,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => {
5551
securitySchemes: {
5652
myBasicAuth: {
5753
type: 'http',
58-
in: 'header',
5954
scheme: 'basic'
6055
}
6156
}
@@ -104,7 +99,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => {
10499
securitySchemes: {
105100
myBasicAuth: {
106101
type: 'http',
107-
in: 'header',
108102
scheme: 'basic'
109103
}
110104
}
@@ -149,7 +143,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => {
149143
securitySchemes: {
150144
myBasicAuth: {
151145
type: 'http',
152-
in: 'header',
153146
scheme: 'basic'
154147
}
155148
}
@@ -199,7 +192,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => {
199192
securitySchemes: {
200193
myBearerAuth: {
201194
type: 'http',
202-
in: 'header',
203195
scheme: 'bearer'
204196
}
205197
}
@@ -247,7 +239,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => {
247239
securitySchemes: {
248240
myBearerAuth: {
249241
type: 'http',
250-
in: 'header',
251242
scheme: 'bearer'
252243
}
253244
}

0 commit comments

Comments
 (0)