first attempt to fix fialing api-v3 tests

This commit is contained in:
Matteo Pagliazzi
2016-01-29 11:13:39 +01:00
parent 1369327c44
commit b960ecdd94
8 changed files with 10 additions and 19 deletions

View File

@@ -1,8 +1,10 @@
/* eslint-disable no-use-before-define */
import superagent from 'superagent';
import nconf from 'nconf';
import app from '../../../website/src/server';
const API_TEST_SERVER_PORT = 3003;
const API_TEST_SERVER_PORT = nconf.get('PORT');
let apiVersion;
// Sets up an abject that can make all REST requests