1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/modules/auth
silverwind 9235442ba5
Remove external API calls in TestPassword (#30716)
The test had a dependency on `https://api.pwnedpasswords.com` which
caused many failures on CI recently:

```
--- FAIL: TestPassword (2.37s)
    pwn_test.go:41: Get "https://api.pwnedpasswords.com/range/e6b6a": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
FAIL
coverage: 82.9% of statements
```
2024-05-02 14:43:23 +00:00
..
openid
pam Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
password Remove external API calls in TestPassword (#30716) 2024-05-02 14:43:23 +00:00
webauthn Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
common.go