mirror of
https://github.com/immich-app/immich.git
synced 2025-07-07 09:12:56 +02:00
parent
37f5e6e2cb
commit
dab4870fed
2 changed files with 1 additions and 2 deletions
e2e/src/api/specs
|
@ -142,7 +142,7 @@ describe(`/oauth`, () => {
|
|||
it(`should throw an error if the state mismatches`, async () => {
|
||||
const callbackParams = await loginWithOAuth('oauth-auto-register');
|
||||
const { state } = await loginWithOAuth('oauth-auto-register');
|
||||
const { status, body } = await request(app)
|
||||
const { status } = await request(app)
|
||||
.post('/oauth/callback')
|
||||
.send({ ...callbackParams, state });
|
||||
expect(status).toBeGreaterThanOrEqual(400);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue