mirror of
https://github.com/mozilla/fxa.git
synced 2025-12-28 07:03:55 +00:00
bug(customs): Fix broken integration tests
Because: - We updated the totpCodeRules.limit.max default value, but failed to update the corresponding test. This Commit: - Sets the max for totpCodeRules.limits to 2 since that's what test expects.
This commit is contained in:
parent
7200af62fd
commit
0d813bc4f6
@ -24,8 +24,11 @@ function randomUid() {
|
||||
}
|
||||
|
||||
const config = require('../../lib/config').getProperties();
|
||||
|
||||
config.userDefinedRateLimitRules.totpCodeRules.limits.max = 2;
|
||||
config.userDefinedRateLimitRules.totpCodeRules.limits.periodMs = 1000;
|
||||
config.userDefinedRateLimitRules.totpCodeRules.limits.rateLimitIntervalMs = 1000;
|
||||
|
||||
config.userDefinedRateLimitRules.tokenCodeRules.limits.max = 2;
|
||||
config.userDefinedRateLimitRules.tokenCodeRules.limits.periodMs = 1000;
|
||||
config.userDefinedRateLimitRules.tokenCodeRules.limits.rateLimitIntervalMs = 1000;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user