Fix location and lamassu-config API in tests
This commit is contained in:
parent
73f1f31fd9
commit
c245c528f0
3 changed files with 7 additions and 7 deletions
|
|
@ -41,7 +41,7 @@ describe('trade test', function(){
|
|||
beforeEach(function(done) {
|
||||
config.load(function(err, result) {
|
||||
assert.isNull(err);
|
||||
cfg = result.config;
|
||||
cfg = result;
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
|
@ -52,7 +52,7 @@ describe('trade test', function(){
|
|||
this.timeout(1000000);
|
||||
|
||||
cfg.exchanges.plugins.trade = 'bitstamp';
|
||||
var api = require('../../lib/atm-api');
|
||||
var api = require('../../lib/protocol/atm-api');
|
||||
api.init(app, cfg);
|
||||
|
||||
// schedule two trades this should result in a single consolidated trade hitting the trading system
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue