From bfcec48515b028dfbe98c1a6e1e6090e2450c264 Mon Sep 17 00:00:00 2001 From: Vladimir Gorej Date: Thu, 18 Jun 2020 16:24:46 +0200 Subject: [PATCH] test(authorization): correct OAS3 fixtures Refs #1562 --- test/oas3/execute/authorization.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/test/oas3/execute/authorization.js b/test/oas3/execute/authorization.js index ce2d28909..817a09e44 100644 --- a/test/oas3/execute/authorization.js +++ b/test/oas3/execute/authorization.js @@ -1,10 +1,6 @@ -import xmock from 'xmock' -import path from 'path' -import fs from 'fs' import btoa from 'btoa' -import jsYaml from 'js-yaml' -import {execute, buildRequest, baseUrl, applySecurities, self as stubs} from '../../../src/execute' +import {buildRequest} from '../../../src/execute' // OAS 3.0 Authorization @@ -55,7 +51,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => { securitySchemes: { myBasicAuth: { type: 'http', - in: 'header', scheme: 'basic' } } @@ -104,7 +99,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => { securitySchemes: { myBasicAuth: { type: 'http', - in: 'header', scheme: 'basic' } } @@ -149,7 +143,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => { securitySchemes: { myBasicAuth: { type: 'http', - in: 'header', scheme: 'basic' } } @@ -199,7 +192,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => { securitySchemes: { myBearerAuth: { type: 'http', - in: 'header', scheme: 'bearer' } } @@ -247,7 +239,6 @@ describe('Authorization - OpenAPI Specification 3.0', () => { securitySchemes: { myBearerAuth: { type: 'http', - in: 'header', scheme: 'bearer' } }