From 5960f92395e81cc851d4536325bee72ba930de3f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Dec 2017 16:45:32 +0100 Subject: Fix user tests --- server/tests/api/users/users.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests/api/users/users.ts') diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts index b7ec3bc0f..a13807b5c 100644 --- a/server/tests/api/users/users.ts +++ b/server/tests/api/users/users.ts @@ -42,7 +42,7 @@ describe('Test users', function () { expect(res.body.error) .to - .equal('invalid_client') + .equal('Authentication failed.') }) it('Should not login with an invalid client secret', async function () { @@ -51,7 +51,7 @@ describe('Test users', function () { expect(res.body.error) .to - .equal('invalid_client') + .equal('Authentication failed.') }) it('Should not login with an invalid username', async function () { @@ -60,7 +60,7 @@ describe('Test users', function () { expect(res.body.error) .to - .equal('invalid_grant') + .equal('Authentication failed.') }) it('Should not login with an invalid password', async function () { @@ -69,7 +69,7 @@ describe('Test users', function () { expect(res.body.error) .to - .equal('invalid_grant') + .equal('Authentication failed.') }) it('Should not be able to upload a video', async function () { -- cgit v1.2.3