From e4c81ab990c792d31d76e3b3cd2db353dd781369 Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Wed, 12 Feb 2025 06:19:04 +0000 Subject: [PATCH] test/oidc: add missing describe() blocks These were incorrectly excluded while merging #1392 & #1399 into master. --- test/integration/api/oidc.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/api/oidc.js b/test/integration/api/oidc.js index db8032e25..0c7358232 100644 --- a/test/integration/api/oidc.js +++ b/test/integration/api/oidc.js @@ -35,7 +35,9 @@ describe('api: /oidc/...', () => { url.searchParams.get('code_challenge').should.match(/^[a-zA-Z0-9-_]{43}$/); url.searchParams.get('state' ).should.match(/^[a-zA-Z0-9-_]{43}:$/); // eslint-disable-line space-in-parens,no-multi-spaces }))); + }); + describe('GET /oidc/callback', () => { it('should redirect to error page if no parameters are provided', testService(service => service.get('/v1/oidc/callback') .expect(303) @@ -49,7 +51,9 @@ describe('api: /oidc/...', () => { it('should not exist', testService(service => service.get('/v1/oidc/login') .expect(404))); + }); + describe('GET /oidc/callback', () => { it('should not exist', testService(service => service.get('/v1/oidc/callback') .expect(404)));