diff --git a/tests/modules/PassportModule.spec.ts b/tests/modules/PassportModule.spec.ts index 6cc68a089..da4c97be8 100644 --- a/tests/modules/PassportModule.spec.ts +++ b/tests/modules/PassportModule.spec.ts @@ -56,6 +56,7 @@ describe("Faucet module: passport", () => { boostFactor: { 2: 4, }, + requireMinScore: 5, skipHostingCheckScore: 10, skipProxyCheckScore: 20, allowGuestRefresh: true, @@ -67,7 +68,7 @@ describe("Faucet module: passport", () => { expect(clientConfig.modules['passport'].refreshTimeout).to.equal(30, "client config missmatch: refreshTimeout"); expect(clientConfig.modules['passport'].manualVerification).to.equal(true, "client config missmatch: manualVerification"); expect(JSON.stringify(clientConfig.modules['passport'].stampScoring)).to.equal(JSON.stringify((faucetConfig.modules["passport"] as any).stampScoring), "client config missmatch: stampScoring"); - expect(JSON.stringify(clientConfig.modules['passport'].overrideScores)).to.equal(JSON.stringify([10, 20]), "client config missmatch: overrideScores"); + expect(JSON.stringify(clientConfig.modules['passport'].overrideScores)).to.equal(JSON.stringify([10, 20, 5]), "client config missmatch: overrideScores"); expect(clientConfig.modules['passport'].guestRefresh).to.equal(60, "client config missmatch: guestRefresh"); }).timeout(6000); // might take longer than the other passport tests, because the didkit lib is loaded when the module gets enabled first