aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/users/users.ts')
-rw-r--r--server/tests/api/users/users.ts8
1 files changed, 4 insertions, 4 deletions
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 () {
42 42
43 expect(res.body.error) 43 expect(res.body.error)
44 .to 44 .to
45 .equal('invalid_client') 45 .equal('Authentication failed.')
46 }) 46 })
47 47
48 it('Should not login with an invalid client secret', async function () { 48 it('Should not login with an invalid client secret', async function () {
@@ -51,7 +51,7 @@ describe('Test users', function () {
51 51
52 expect(res.body.error) 52 expect(res.body.error)
53 .to 53 .to
54 .equal('invalid_client') 54 .equal('Authentication failed.')
55 }) 55 })
56 56
57 it('Should not login with an invalid username', async function () { 57 it('Should not login with an invalid username', async function () {
@@ -60,7 +60,7 @@ describe('Test users', function () {
60 60
61 expect(res.body.error) 61 expect(res.body.error)
62 .to 62 .to
63 .equal('invalid_grant') 63 .equal('Authentication failed.')
64 }) 64 })
65 65
66 it('Should not login with an invalid password', async function () { 66 it('Should not login with an invalid password', async function () {
@@ -69,7 +69,7 @@ describe('Test users', function () {
69 69
70 expect(res.body.error) 70 expect(res.body.error)
71 .to 71 .to
72 .equal('invalid_grant') 72 .equal('Authentication failed.')
73 }) 73 })
74 74
75 it('Should not be able to upload a video', async function () { 75 it('Should not be able to upload a video', async function () {