auth-backend: fix oauth state test

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-08-09 00:25:17 +02:00
parent 8513cd7d00
commit 0f0e2a378b
@@ -76,7 +76,7 @@ describe('OAuthProvider Utils', () => {
} as unknown as express.Request;
expect(() => {
verifyNonce(mockRequest, 'providera');
}).toThrow('Invalid state passed via request');
}).toThrow('OAuth state is invalid, missing env');
});
it('should throw error if nonce mismatch', () => {