Api #79

Merged
KevinMidboe merged 8 commits from api into master 2018-02-07 13:22:50 +00:00
Showing only changes of commit 98b10aa693 - Show all commits

View File

@@ -8,7 +8,7 @@ describe('As a user I want a forbidden error if the token is malformed', () => {
it('should return 401', () =>
request(app)
.get('/api/v1/plex/requests/all')
.get('/api/v1/pirate/search?query=test')
.set('Authorization', 'maLfOrMed TOKEN')
.expect(401)
.then(response => assert.equal(response.body.error, 'You must be logged in.'))