update JS test cases

This commit is contained in:
wing328
2016-08-12 10:30:33 +08:00
parent 02f43bc195
commit 0a5cd19e97
70 changed files with 274 additions and 210 deletions

View File

@@ -13,6 +13,7 @@ describe('ApiClient', function() {
expect(apiClient.basePath).to.be('http://petstore.swagger.io/v2');
expect(apiClient.authentications).to.eql({
petstore_auth: {type: 'oauth2'},
http_basic_test: {type: 'basic'},
api_key: {type: 'apiKey', 'in': 'header', name: 'api_key'}
/* commented out the following as these fake security def (testing purpose)
* has been removed from the spec, we'll add it back after updating the