/** * devops * System Operations Microservice * * The version of the OpenAPI document: 0.0.2 * Contact: noc@taxnexus.net * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ (function(root, factory) { if (typeof define === 'function' && define.amd) { // AMD. define(['expect.js', process.cwd()+'/src/index'], factory); } else if (typeof module === 'object' && module.exports) { // CommonJS-like environments that support module.exports, like Node. factory(require('expect.js'), require(process.cwd()+'/src/index')); } else { // Browser globals (root is window) factory(root.expect, root.Devops); } }(this, function(expect, Devops) { 'use strict'; var instance; beforeEach(function() { instance = new Devops.CorsApi(); }); var getProperty = function(object, getter, property) { // Use getter method if present; otherwise, get the property directly. if (typeof object[getter] === 'function') return object[getter](); else return object[property]; } var setProperty = function(object, setter, property, value) { // Use setter method if present; otherwise, set the property directly. if (typeof object[setter] === 'function') object[setter](value); else object[property] = value; } describe('CorsApi', function() { describe('clusterOptions', function() { it('should call clusterOptions successfully', function(done) { //uncomment below and update the code to test clusterOptions //instance.clusterOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('clustersOptions', function() { it('should call clustersOptions successfully', function(done) { //uncomment below and update the code to test clustersOptions //instance.clustersOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('databaseOptions', function() { it('should call databaseOptions successfully', function(done) { //uncomment below and update the code to test databaseOptions //instance.databaseOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('databasesOptions', function() { it('should call databasesOptions successfully', function(done) { //uncomment below and update the code to test databasesOptions //instance.databasesOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('templateOptions', function() { it('should call templateOptions successfully', function(done) { //uncomment below and update the code to test templateOptions //instance.templateOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('templatesOptions', function() { it('should call templatesOptions successfully', function(done) { //uncomment below and update the code to test templatesOptions //instance.templatesOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('tenantOptions', function() { it('should call tenantOptions successfully', function(done) { //uncomment below and update the code to test tenantOptions //instance.tenantOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('tenantsOptions', function() { it('should call tenantsOptions successfully', function(done) { //uncomment below and update the code to test tenantsOptions //instance.tenantsOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('userOptions', function() { it('should call userOptions successfully', function(done) { //uncomment below and update the code to test userOptions //instance.userOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); describe('usersOptions', function() { it('should call usersOptions successfully', function(done) { //uncomment below and update the code to test usersOptions //instance.usersOptions(function(error) { // if (error) throw error; //expect().to.be(); //}); done(); }); }); }); }));