mirror of https://github.com/vernonkeenan/lib
138 lines
4.8 KiB
JavaScript
138 lines
4.8 KiB
JavaScript
/**
|
|
* auth
|
|
* Authentication 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.Auth);
|
|
}
|
|
}(this, function(expect, Auth) {
|
|
'use strict';
|
|
|
|
var instance;
|
|
|
|
beforeEach(function() {
|
|
instance = new Auth.UserRole();
|
|
});
|
|
|
|
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('UserRole', function() {
|
|
it('should create an instance of UserRole', function() {
|
|
// uncomment below and update the code to test UserRole
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be.a(Auth.UserRole);
|
|
});
|
|
|
|
it('should have the property accountID (base name: "AccountID")', function() {
|
|
// uncomment below and update the code to test the property accountID
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property auth0RoleID (base name: "Auth0RoleID")', function() {
|
|
// uncomment below and update the code to test the property auth0RoleID
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property auth0UserID (base name: "Auth0UserID")', function() {
|
|
// uncomment below and update the code to test the property auth0UserID
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property companyName (base name: "CompanyName")', function() {
|
|
// uncomment below and update the code to test the property companyName
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property contactID (base name: "ContactID")', function() {
|
|
// uncomment below and update the code to test the property contactID
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property roleDescription (base name: "RoleDescription")', function() {
|
|
// uncomment below and update the code to test the property roleDescription
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property roleID (base name: "RoleID")', function() {
|
|
// uncomment below and update the code to test the property roleID
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property roleName (base name: "RoleName")', function() {
|
|
// uncomment below and update the code to test the property roleName
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() {
|
|
// uncomment below and update the code to test the property taxnexusAccount
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property userEmail (base name: "UserEmail")', function() {
|
|
// uncomment below and update the code to test the property userEmail
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property userFullName (base name: "UserFullName")', function() {
|
|
// uncomment below and update the code to test the property userFullName
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property userID (base name: "UserID")', function() {
|
|
// uncomment below and update the code to test the property userID
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
it('should have the property username (base name: "Username")', function() {
|
|
// uncomment below and update the code to test the property username
|
|
//var instance = new Auth.UserRole();
|
|
//expect(instance).to.be();
|
|
});
|
|
|
|
});
|
|
|
|
}));
|