diff --git a/e2e/src/api/specs/oauth.e2e-spec.ts b/e2e/src/api/specs/oauth.e2e-spec.ts index 3b1e75d3e5..9e4d64892e 100644 --- a/e2e/src/api/specs/oauth.e2e-spec.ts +++ b/e2e/src/api/specs/oauth.e2e-spec.ts @@ -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);