From c4354a6600cf1fe54a754372488bcf2fcd51611e Mon Sep 17 00:00:00 2001 From: Jonathan Cremin Date: Fri, 17 Jan 2020 19:25:55 +0000 Subject: [PATCH] Fix tests, upgrade node --- Dockerfile | 2 +- Dockerfile.dev | 2 +- test/services/google.js | 2 +- test/services/itunes.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 589463f..b233d65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:10.15.3-alpine +FROM node:12.14.1-alpine3.11 WORKDIR /app diff --git a/Dockerfile.dev b/Dockerfile.dev index 1124596..2deb05e 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:10.15.3-alpine +FROM node:12.14.1-alpine3.11 WORKDIR /app diff --git a/test/services/google.js b/test/services/google.js index 3b3a997..f30134b 100644 --- a/test/services/google.js +++ b/test/services/google.js @@ -22,7 +22,7 @@ describe('Google Play Music', () => { it('should find track by search', async function (){ const result = await google.search({type: 'track', artist: {name: 'Jamie xx'}, albumName: 'In Colour', name: 'Loud Places'}); - result.name.should.equal('Loud Places'); + result.name.should.equal('Loud Places (feat. Romy)'); }); it('should find awkward track by search', async function (){ diff --git a/test/services/itunes.js b/test/services/itunes.js index 12b47e6..6962107 100644 --- a/test/services/itunes.js +++ b/test/services/itunes.js @@ -23,7 +23,7 @@ describe('iTunes Music', function(){ it('should find awkward album by search', async function (){ const result = await itunes.search({type: 'album', artist: {name: 'Anavitória'}, name: 'Fica'}); - result.name.should.equal('Fica AnaVitoria - Single'); + result.name.should.equal('Fica (feat. Matheus & Kauan) - Single'); }); it('should find track by search', async function (){