aboutsummaryrefslogtreecommitdiff
path: root/internal/db/users_test.go
Commit message (Collapse)AuthorAge
* refactor(db): move some methods from `user.go` to `users.go` (#7195)Joe Chen2022-10-22
|
* refactor(db): move `User.HasForkedRepository` to `users.HasForkedRepository` ↵Joe Chen2022-10-09
| | | | | (#7176) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* db: refactor "action" table to use GORM (#7054)Joe Chen2022-06-25
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* migrations: add tests and remove XORM (#7050)Joe Chen2022-06-12
|
* db: add tests for authentication through login sources (#7049)Joe Chen2022-06-12
|
* db: use `context` and go-mockgen for `UsersStore` (#7042)Joe Chen2022-06-11
|
* ci: run database tests against Postgres, MySQL and SQLite (#6996)Joe Chen2022-06-01
|
* auth: decouple types and functions from db (#6320)ᴜɴᴋɴᴡᴏɴ2020-09-20
|
* db: migrate to GORM v2 (#6309)ᴜɴᴋɴᴡᴏɴ2020-09-06
|
* db: use GORM to backup and restore non-legacy tables (#6142)ᴜɴᴋɴᴡᴏɴ2020-05-04
|
* db: add tests for users (#6116)ᴜɴᴋɴᴡᴏɴ2020-04-18
* Add new methods * Use Users.Create to replace previous hack * Reduce side effect * Do not clear tables when test failed * test_users_Authenticate * Rename constant * test_users_Create * test_users_GetByEmail * test_users_GetByID * test_users_GetByUsername