Skip to content

Commit db02aaa

Browse files
committed
fix integration tests
1 parent 8d76e2c commit db02aaa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/integration/auth-ory-consent.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ function consentRequest(challenge: string | null = 'consent-challenge') {
3232
describe('Ory consent provider', () => {
3333
beforeEach(() => {
3434
getConsentMock.mockReset().mockResolvedValue({
35+
client: { client_id: 'test-ory-client-id' },
3536
subject: 'identity-uuid',
3637
requested_scope: ['openid', 'offline_access', 'email', 'profile'],
3738
requested_access_token_audience: ['dashboard-api'],
@@ -66,6 +67,7 @@ describe('Ory consent provider', () => {
6667

6768
it('omits the email claim when the email scope is not granted', async () => {
6869
getConsentMock.mockResolvedValueOnce({
70+
client: { client_id: 'test-ory-client-id' },
6971
subject: 'identity-uuid',
7072
requested_scope: ['openid'],
7173
requested_access_token_audience: [],

0 commit comments

Comments
 (0)