diff options
author | Lukas Winkler <git@lw1.at> | 2019-09-23 08:17:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-09-23 08:17:42 +0200 |
commit | 32d7f2b754b8d20bf44ae2121c79570cbff973c3 (patch) | |
tree | 81245f0129677639ff89b08321a9e7f84c359656 /server/tests/api/check-params | |
parent | 210709a9076ac152dd377234866b8e9b9108382a (diff) | |
download | PeerTube-32d7f2b754b8d20bf44ae2121c79570cbff973c3.tar.gz PeerTube-32d7f2b754b8d20bf44ae2121c79570cbff973c3.tar.zst PeerTube-32d7f2b754b8d20bf44ae2121c79570cbff973c3.zip |
fix a few typos (#2141)
* fix a few typos
* apply changes to original files instead
* additional correction
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r-- | server/tests/api/check-params/users.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/check-params/users.ts b/server/tests/api/check-params/users.ts index 55094795c..9d7ff8984 100644 --- a/server/tests/api/check-params/users.ts +++ b/server/tests/api/check-params/users.ts | |||
@@ -901,7 +901,7 @@ describe('Test users API validators', function () { | |||
901 | await makePostBodyRequest({ url: server.url, path: registrationPath, token: server.accessToken, fields }) | 901 | await makePostBodyRequest({ url: server.url, path: registrationPath, token: server.accessToken, fields }) |
902 | }) | 902 | }) |
903 | 903 | ||
904 | it('Should fail with a channel name that is the same than user username', async function () { | 904 | it('Should fail with a channel name that is the same as username', async function () { |
905 | const source = { username: 'super_user', channel: { name: 'super_user', displayName: 'display name' } } | 905 | const source = { username: 'super_user', channel: { name: 'super_user', displayName: 'display name' } } |
906 | const fields = immutableAssign(baseCorrectParams, source) | 906 | const fields = immutableAssign(baseCorrectParams, source) |
907 | 907 | ||