Fix location and lamassu-config API in tests

This commit is contained in:
Maciej Małecki 2014-04-11 04:52:49 +02:00
parent 73f1f31fd9
commit c245c528f0
3 changed files with 7 additions and 7 deletions

View file

@ -57,7 +57,7 @@ describe('send test', function() {
}, function(err, results) {
assert.isNull(err);
cfg = results.config.config;
cfg = results.config;
port = results.blockchain.address().port;
cfg.exchanges.plugins.current.transfer = 'blockchain';
@ -103,7 +103,7 @@ describe('send test', function() {
.reply(200, payment_response);
var api = require('../../lib/atm-api');
var api = require('../../lib/protocol/atm-api');
api.init(app, cfg);
var params = {
@ -122,4 +122,4 @@ describe('send test', function() {
});
}, 2000);
});
});
});