Skip to content

Commit 6cacb3a

Browse files
committed
Update controller.test.ts
1 parent 6b3d58c commit 6cacb3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sso/saml/controller.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ describe('SamlController', () => {
440440

441441
expect(mockRes.status).toHaveBeenCalledWith(400);
442442
expect(mockRes.json).toHaveBeenCalledWith({
443-
error: 'SSO is not enabled',
443+
error: 'SSO is not enabled for this workspace',
444444
});
445445
});
446446

@@ -452,7 +452,7 @@ describe('SamlController', () => {
452452

453453
expect(mockRes.status).toHaveBeenCalledWith(400);
454454
expect(mockRes.json).toHaveBeenCalledWith({
455-
error: 'SSO is not enabled',
455+
error: 'SSO is not enabled for this workspace',
456456
});
457457
});
458458

0 commit comments

Comments
 (0)