fix tests

Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
This commit is contained in:
Matteo Silvestri
2024-04-19 13:28:33 +01:00
committed by Fredrik Adelöw
parent 844f5a21bb
commit 0631fe2d28
2 changed files with 2 additions and 1 deletions
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-auth-backend-module-onelogin-provider",
"version": "0.0.1",
"version": "0.0.0",
"description": "The onelogin-provider backend module for the auth plugin.",
"backstage": {
"role": "backend-plugin-module"
@@ -65,6 +65,7 @@ describe('authModuleOneLoginProvider', () => {
expect(startUrl.pathname).toBe('/oidc/2/auth');
expect(Object.fromEntries(startUrl.searchParams)).toEqual({
response_type: 'code',
scope: 'openid email profile',
client_id: 'my-client-id',
redirect_uri: `http://localhost:${server.port()}/api/auth/onelogin/handler/frame`,
state: expect.any(String),