Skip to content

Commit

Permalink
docs: add a tip about unit tests and rate limits
Browse files Browse the repository at this point in the history
Add a tip about unit tests and possible problems because of the rate limits (see #3893)
  • Loading branch information
alexandernst authored and pennersr committed Jun 14, 2024
1 parent 7148c9e commit 8f653fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/account/rate_limits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,13 @@ The following actions are available for configuration:
Users can request email confirmation mails via the email management view, and,
implicitly, when logging in with an unverified account. This rate limit
prevents users from sending too many of these mails.


Additional notes:

Unless the rate limit is disabled or the default limits are increased, you might
run intro problems if you're running unit tests that are dependant on
funcionalities covered by the rate limits. For example, if you're testing the
`confirm_email` functionality in your unit tests and you're testing if the
verification email is sent twice after requesting it twice, only one of the
emails will be sent.

0 comments on commit 8f653fe

Please sign in to comment.