fix typo
This commit is contained in:
parent
d245306d90
commit
4c12a9d882
|
@ -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