From 0193e42b5183358ed322a3f80bdd3d944875485f Mon Sep 17 00:00:00 2001 From: Sander Vocke Date: Tue, 22 Sep 2020 16:41:21 +0200 Subject: [PATCH] Fix test errors. --- server/test/integration/flows/QueryFlow.js | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/server/test/integration/flows/QueryFlow.js b/server/test/integration/flows/QueryFlow.js index 2a277ef..242ba38 100644 --- a/server/test/integration/flows/QueryFlow.js +++ b/server/test/integration/flows/QueryFlow.js @@ -37,6 +37,7 @@ describe('POST /query with no songs', () => { songs: [], tags: [], artists: [], + albums: [], }); done(); }); @@ -111,7 +112,8 @@ describe('POST /query with several songs and filters', () => { expect(res.body).to.deep.equal({ songs: [ song1, song2, song3 ], artists: [], - tags: [] + tags: [], + albums: [], }); }); } @@ -141,7 +143,8 @@ describe('POST /query with several songs and filters', () => { expect(res.body).to.deep.equal({ songs: [ song1, song3 ], artists: [], - tags: [] + tags: [], + albums: [], }); }); } @@ -171,7 +174,8 @@ describe('POST /query with several songs and filters', () => { expect(res.body).to.deep.equal({ songs: [ song2 ], artists: [], - tags: [] + tags: [], + albums: [], }); }); } @@ -201,7 +205,8 @@ describe('POST /query with several songs and filters', () => { expect(res.body).to.deep.equal({ songs: [ song1, song2 ], artists: [], - tags: [] + tags: [], + albums: [], }); }); } @@ -241,7 +246,8 @@ describe('POST /query with several songs and filters', () => { expect(res.body).to.deep.equal({ songs: [ song1, song3 ], artists: [], - tags: [] + tags: [], + albums: [], }); }); }