Fix test errors.

pull/20/head
Sander Vocke 5 years ago
parent ab33cdf527
commit 0193e42b51
  1. 16
      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: [],
});
});
}

Loading…
Cancel
Save