You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/auth
wxiaoguang 0ed160ffea
Refactor tests (#33021)
1. fix incorrect tests, for example: BeanExists doesn't do assert and
shouldn't be used
2. remove unnecessary test functions
3. introduce DumpQueryResult to help to see the database rows during
test (at least I need it)

```
====== DumpQueryResult: SELECT * FROM action_runner_token ======
- # row[0]
  id: 1
  token: xeiWBL5kuTYxGPynHCqQdoeYmJAeG3IzGXCYTrDX
  owner_id: 0
...
```
1 month ago
..
access_token.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
access_token_scope.go Fix nuget/conan/container packages upload bugs (#31967) 5 months ago
access_token_scope_test.go Enhanced auth token / remember me (#27606) 1 year ago
access_token_test.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
auth_token.go Unify password changing and invalidate auth tokens (#27625) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
oauth2.go add skip secondary authorization option for public oauth2 clients (#31454) 7 months ago
oauth2_list.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
oauth2_test.go Enable tenv and testifylint rules (#32852) 2 months ago
session.go Fix session key conflict with database keyword (#28613) 1 year ago
source.go allow synchronizing user status from OAuth2 login providers (#31572) 7 months ago
source_test.go Refactor db package and remove unnecessary `DumpTables` (#32930) 1 month ago
twofactor.go Use `crypto/sha256` (#29386) 11 months ago
webauthn.go Fix: passkey login not working anymore (#32623) 2 months ago
webauthn_test.go Refactor tests (#33021) 1 month ago