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
...
```
2 months ago
..
access_token.go
access_token_scope.go Fix nuget/conan/container packages upload bugs (#31967) 5 months ago
access_token_scope_test.go
access_token_test.go
auth_token.go
main_test.go
oauth2.go add skip secondary authorization option for public oauth2 clients (#31454) 7 months ago
oauth2_list.go
oauth2_test.go Enable tenv and testifylint rules (#32852) 2 months ago
session.go
source.go
source_test.go Refactor db package and remove unnecessary `DumpTables` (#32930) 2 months ago
twofactor.go
webauthn.go Fix: passkey login not working anymore (#32623) 3 months ago
webauthn_test.go Refactor tests (#33021) 2 months ago