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:
2019-07-27 01:30:08 +02:00
parent 8e23ae5a27
commit 7ede37039a
2 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ const convertTmdbToMovie = require('src/tmdb/convertTmdbToMovie');
const bladeRunnerQuerySuccess = require('test/fixtures/blade_runner_2049-info-success-response.json')
describe('Convert tmdb movieInfo to movie', () => {
beforeEach(() => this.bladeRunnerTmdbMovie = bladeRunnerQuerySuccess);
beforeEach(() => [this.bladeRunnerTmdbMovie] = bladeRunnerQuerySuccess);
it('should translate the tmdb release date to movie year', () => {
const bladeRunner = convertTmdbToMovie(this.bladeRunnerTmdbMovie);