info-success-response is now a list so need this reflected in this test also. Changed the port we test for to whats in our config/test.jsono
This commit is contained in:
@@ -5,8 +5,8 @@ describe('As a developer I want the server to start', () => {
|
|||||||
beforeEach(() =>
|
beforeEach(() =>
|
||||||
this.server = require('src/webserver/server'));
|
this.server = require('src/webserver/server'));
|
||||||
|
|
||||||
it('should listen on port 31459', (done) => {
|
it('should listen on port 31400', (done) => {
|
||||||
net.createConnection(31459, done);
|
net.createConnection(31400, done);
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() =>
|
afterEach(() =>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ const convertTmdbToMovie = require('src/tmdb/convertTmdbToMovie');
|
|||||||
const bladeRunnerQuerySuccess = require('test/fixtures/blade_runner_2049-info-success-response.json')
|
const bladeRunnerQuerySuccess = require('test/fixtures/blade_runner_2049-info-success-response.json')
|
||||||
|
|
||||||
describe('Convert tmdb movieInfo to movie', () => {
|
describe('Convert tmdb movieInfo to movie', () => {
|
||||||
beforeEach(() => this.bladeRunnerTmdbMovie = bladeRunnerQuerySuccess);
|
beforeEach(() => [this.bladeRunnerTmdbMovie] = bladeRunnerQuerySuccess);
|
||||||
|
|
||||||
it('should translate the tmdb release date to movie year', () => {
|
it('should translate the tmdb release date to movie year', () => {
|
||||||
const bladeRunner = convertTmdbToMovie(this.bladeRunnerTmdbMovie);
|
const bladeRunner = convertTmdbToMovie(this.bladeRunnerTmdbMovie);
|
||||||
|
|||||||
Reference in New Issue
Block a user