59 lines
1.8 KiB
JavaScript
59 lines
1.8 KiB
JavaScript
/*
|
|
*
|
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
*
|
|
* OpenAPI spec version:
|
|
*
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
*
|
|
* Swagger Codegen version: 2.4.18
|
|
*
|
|
* Do not edit the class manually.
|
|
*
|
|
*/
|
|
|
|
(function(root, factory) {
|
|
if (typeof define === 'function' && define.amd) {
|
|
// AMD.
|
|
define(['expect.js', '../../src/index'], factory);
|
|
} else if (typeof module === 'object' && module.exports) {
|
|
// CommonJS-like environments that support module.exports, like Node.
|
|
factory(require('expect.js'), require('../../src/index'));
|
|
} else {
|
|
// Browser globals (root is window)
|
|
factory(root.expect, root.SwaggerJsClient);
|
|
}
|
|
}(this, function(expect, SwaggerJsClient) {
|
|
'use strict';
|
|
|
|
var instance;
|
|
|
|
describe('(package)', function() {
|
|
describe('LoginReq', function() {
|
|
beforeEach(function() {
|
|
instance = new SwaggerJsClient.LoginReq();
|
|
});
|
|
|
|
it('should create an instance of LoginReq', function() {
|
|
// TODO: update the code to test LoginReq
|
|
expect(instance).to.be.a(SwaggerJsClient.LoginReq);
|
|
});
|
|
|
|
it('should have the property username (base name: "username")', function() {
|
|
// TODO: update the code to test the property username
|
|
expect(instance).to.have.property('username');
|
|
// expect(instance.username).to.be(expectedValueLiteral);
|
|
});
|
|
|
|
it('should have the property password (base name: "password")', function() {
|
|
// TODO: update the code to test the property password
|
|
expect(instance).to.have.property('password');
|
|
// expect(instance.password).to.be(expectedValueLiteral);
|
|
});
|
|
|
|
});
|
|
});
|
|
|
|
}));
|