Skip to content

Commit

Permalink
Version changed and lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRufino committed Nov 7, 2023
1 parent 27ffd5a commit 3ea2118
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 26 deletions.
18 changes: 0 additions & 18 deletions lib/issue-software-certificate-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,11 @@ class IssueSoftwareCertificateRequest{

//region "orderId" Accessors

getOrderId() {
return this._orderId;
}

get orderId() {
return this._orderId;
}

setOrderId(value) {
this._orderId = value;
}

set orderId(value) {
this._orderId = value;
Expand All @@ -30,17 +24,11 @@ class IssueSoftwareCertificateRequest{

//region "password" Accessors

getPassword() {
return this._password;
}

get password() {
return this._password;
}

setPassword(value) {
this._password = value;
}

set password(value) {
this._password = value;
Expand All @@ -50,17 +38,11 @@ class IssueSoftwareCertificateRequest{

//region "keySize" Accessors

getKeySize() {
return this._keySize;
}

get keySize() {
return this._keySize;
}

setKeySize(value) {
this._keySize = value;
}

set keySize(value) {
this._keySize = value;
Expand Down
2 changes: 0 additions & 2 deletions lib/issue-software-certificate-response.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ class IssueSoftwareCertificateResponse {
publicKeyPem: this._publicKeyPem,
privateKeyPkcs8Der: this._privateKeyPkcs8Der,
privateKeyPkcs8Pem: this._privateKeyPkcs8Pem,
privateKeyPkcs12Der: this._privateKeyPkcs12Der,
privateKeyPkcs12Pem: this._privateKeyPkcs12Pem
};
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "amplia-client",
"version": "1.3.3",
"version": "1.3.2",
"description": "Classes to consume Lacuna Software's Amplia",
"main": "index.js",
"scripts": {
Expand Down
10 changes: 5 additions & 5 deletions test/test-cases/orders.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,14 +257,14 @@ describe.each(certificateFormats)('Test Cases for Amplia Node Client', ({certifi
);
// end Test Case #3 for Amplia Node Client
});
describe("issueSoftwareCertificate", function(){
describe('issueSoftwareCertificate', function(){

test.skip("Should return software certificate", async function(){
test.skip('Should return software certificate', async function(){
// This test require api/certificates/software endpoint to work properly
var request = mountOrderRequest(true,CertificateFormats.PKI_BRAZIL);
const order = await ampliaClient.createOrder(request);
var result = await ampliaClient.issueSoftwareCertificate(order.id,"1234", 2048);
var result = await ampliaClient.issueSoftwareCertificate(order.id,'1234', 2048);
expect(result).not.toBeNull();
})
});

})
});

0 comments on commit 3ea2118

Please sign in to comment.