Skip to content

Commit

Permalink
Tests are working
Browse files Browse the repository at this point in the history
  • Loading branch information
boyander committed Oct 27, 2016
1 parent 535be18 commit 2c88b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,5 @@
"chai": "^3.5.0",
"mocha": "^3.1.2",
"webpack": "^1.13.2"
},
"dependencies": {
"base-64": "^0.1.0",
}
}
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import {RedsysBuilder, PaymentBuilder} from '../lib/redsys';
chai.should();
var assert = chai.assert;

const commerce_code = process.env.COMMERCE_CODE || '0001';
const commerce_code = process.env.COMMERCE_CODE || '000000000';
console.log("Using commerce code -> " + commerce_code);

const secret_code = process.env.SECRET_CODE || "00000000";
const secret_code = process.env.SECRET_CODE || "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
console.log("Using secret -> " + secret_code);

describe('Redsys', function() {
Expand Down

0 comments on commit 2c88b36

Please sign in to comment.