Skip to content

Commit 73a89e6

Browse files
committed
fix tests
1 parent 1080020 commit 73a89e6

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

test/integration/cases/sso.test.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
createTestWorkspace,
88
createTestUser,
99
cleanupWorkspace,
10-
cleanupUser,
10+
cleanupUser
1111
} from '../utils';
1212
import { ObjectId } from 'mongodb';
1313

@@ -34,7 +34,7 @@ describe('SSO Integration Tests', () => {
3434
* Get Keycloak SAML configuration
3535
*/
3636
keycloakConfig = await getKeycloakSamlConfig();
37-
}, 60000);
37+
}, 60000);
3838

3939
/**
4040
* Create test workspace before each test
@@ -184,7 +184,6 @@ describe('SSO Integration Tests', () => {
184184
});
185185

186186
describe('ACS (Assertion Consumer Service)', () => {
187-
188187
/**
189188
* This test requires full E2E flow with browser automation
190189
*
@@ -197,8 +196,7 @@ describe('SSO Integration Tests', () => {
197196
* 7. Verify user was logged in
198197
* 8. Verify user was redirected to the correct return URL with tokens
199198
*/
200-
test.todo('Should process valid SAML Response and create user session', async () => {
201-
});
199+
test.todo('Should process valid SAML Response and create user session');
202200

203201
test('Should reject invalid SAML Response', async () => {
204202
/**
@@ -249,7 +247,7 @@ describe('SSO Integration Tests', () => {
249247
await createTestUser({
250248
email: testUser.email,
251249
name: testUser.firstName,
252-
workspaces: [testWorkspaceId],
250+
workspaces: [ testWorkspaceId ],
253251
});
254252

255253
/**
@@ -352,7 +350,7 @@ describe('SSO Integration Tests', () => {
352350
email: testUser.email,
353351
password: testUser.password,
354352
name: testUser.firstName,
355-
workspaces: [enforcedWorkspace],
353+
workspaces: [ enforcedWorkspace ],
356354
});
357355

358356
/**

0 commit comments

Comments
 (0)