1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

OIDC config test fix

This commit is contained in:
Dean 2022-07-03 22:39:16 +01:00
parent 69b424dee6
commit 5a97b71403

View file

@ -48,8 +48,8 @@ describe("oidc", () => {
it("should create successfully create an oidc strategy", async () => {
const oidc = require("../oidc")
await oidc.strategyFactory(oidcConfig, callbackUrl)
const enrichedConfig = await oidc.fetchStrategyConfig(oidcConfig, callbackUrl)
await oidc.strategyFactory(enrichedConfig, callbackUrl)
expect(mockFetch).toHaveBeenCalledWith(oidcConfig.configUrl)