Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions packages/fxa-auth-server/test/remote/oauth_api.in.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3156,26 +3156,6 @@ describe('#integration - /v1', function () {
expect(key.d).toBeFalsy();
});
});

// Skipped: requires config/oldKey.json which is not generated by default
it.skip('should include the oldKey if present', function () {
expect(config.get('oauthServer.openid.oldKey')).toBeTruthy();
return Server.api
.get({
url: '/jwks',
})
.then(function (res) {
expect(res.statusCode).toBe(200);
assertSecurityHeaders(res, {
'cache-control': 'max-age=10, must-revalidate, public',
});

const keys = res.result.keys;
expect(keys.length).toBe(2);
expect(keys[1].d).toBeFalsy();
expect(keys[0].kid).not.toBe(keys[1].kid);
});
});
});

describe('/authorized-clients', () => {
Expand Down