aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-24 19:41:30 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-26 09:11:38 +0200
commit5f04dd2f743961e0a06c29531cc3ccc9e4928d56 (patch)
treea73085d0d83affc2377b78a2c7c25bda08d26388 /server/tests/api/users.ts
parent72c7248b6fdcdb2175e726ff51b42e7555f2bd84 (diff)
downloadPeerTube-5f04dd2f743961e0a06c29531cc3ccc9e4928d56.tar.gz
PeerTube-5f04dd2f743961e0a06c29531cc3ccc9e4928d56.tar.zst
PeerTube-5f04dd2f743961e0a06c29531cc3ccc9e4928d56.zip
Add video channel tests
Diffstat (limited to 'server/tests/api/users.ts')
-rw-r--r--server/tests/api/users.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/users.ts b/server/tests/api/users.ts
index 04c68d4ea..dbf0801f3 100644
--- a/server/tests/api/users.ts
+++ b/server/tests/api/users.ts
@@ -72,7 +72,7 @@ describe('Test users', function () {
72 }) 72 })
73 73
74 it('Should not login with an invalid password', async function () { 74 it('Should not login with an invalid password', async function () {
75 const user = { username: server.user.username, password: 'mewthree' } 75 const user = { username: server.user.username, password: 'mew_three' }
76 const res = await login(server.url, server.client, user, 400) 76 const res = await login(server.url, server.client, user, 400)
77 77
78 expect(res.body.error).to.equal('invalid_grant') 78 expect(res.body.error).to.equal('invalid_grant')