mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 04:23:09 +02:00
fix typo
This commit is contained in:
parent
d245306d90
commit
4c12a9d882
1 changed files with 2 additions and 2 deletions
|
@ -322,7 +322,7 @@ describe('OAuth', () => {
|
||||||
} as AuthorizationParamsExtended), { redirect: 'manual' });
|
} as AuthorizationParamsExtended), { redirect: 'manual' });
|
||||||
assertIndirectError(response, 'invalid_request');
|
assertIndirectError(response, 'invalid_request');
|
||||||
|
|
||||||
// Pattern 2: Only code_challenge_method
|
// Pattern 3: Only code_challenge_method
|
||||||
response = await fetch(client.authorizeURL({
|
response = await fetch(client.authorizeURL({
|
||||||
redirect_uri,
|
redirect_uri,
|
||||||
scope: 'write:notes',
|
scope: 'write:notes',
|
||||||
|
@ -331,7 +331,7 @@ describe('OAuth', () => {
|
||||||
} as AuthorizationParamsExtended), { redirect: 'manual' });
|
} as AuthorizationParamsExtended), { redirect: 'manual' });
|
||||||
assertIndirectError(response, 'invalid_request');
|
assertIndirectError(response, 'invalid_request');
|
||||||
|
|
||||||
// Pattern 3: Unsupported code_challenge_method
|
// Pattern 4: Unsupported code_challenge_method
|
||||||
response = await fetch(client.authorizeURL({
|
response = await fetch(client.authorizeURL({
|
||||||
redirect_uri,
|
redirect_uri,
|
||||||
scope: 'write:notes',
|
scope: 'write:notes',
|
||||||
|
|
Loading…
Reference in a new issue