From 2c88b362b4044ee7d31dfdcda079d1643ff6319a Mon Sep 17 00:00:00 2001 From: Marc Pomar Date: Thu, 27 Oct 2016 19:24:51 +0200 Subject: [PATCH] Tests are working --- package.json | 3 --- test/test.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 526c1b4..89d7b55 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,5 @@ "chai": "^3.5.0", "mocha": "^3.1.2", "webpack": "^1.13.2" - }, - "dependencies": { - "base-64": "^0.1.0", } } diff --git a/test/test.js b/test/test.js index aeeb81a..46a18e8 100644 --- a/test/test.js +++ b/test/test.js @@ -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() {