Tests now suppoer the new list endpoints. Also updated response for interstellar query (movieInfo).

This commit is contained in:
2018-11-01 00:18:54 +01:00
parent e64c4d5d01
commit 87c76e3f1d
6 changed files with 10 additions and 462 deletions

View File

@@ -6,7 +6,7 @@ const interstellarQuerySuccess = require('test/fixtures/interstellar-query-movie
describe('As an anonymous user I want to search for a movie', () => {
before(() => resetDatabase());
before(() => createCacheEntry('mose:1:interstellar', interstellarQuerySuccess));
before(() => createCacheEntry('mos:1:interstellar', interstellarQuerySuccess));
it('should return 200 with the search results even if user is not logged in', () =>
request(app)