aboutsummaryrefslogtreecommitdiff
path: root/internal/db/repos_test.go
Commit message (Collapse)AuthorAge
* db: pass context to tests by default (#7622)Joe Chen2023-12-17
| | | [skip ci]
* refactor(db): merge relation stores into entity stores (#7341)Joe Chen2023-02-08
|
* refactor(db): finish migrate methods off `user.go` (#7337)Joe Chen2023-02-07
|
* refactor(db): migrate methods off `user.go` (#7336)Joe Chen2023-02-05
|
* all: replace `interface{}` with `any` (#7330)Joe Chen2023-02-02
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* refactor(db): migrate methods off `user.go` (#7219)Joe Chen2022-10-30
|
* test(db): add missing tests (#7208)Joe Chen2022-10-23
|
* 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: use `context` and go-mockgen for `ReposStore` (#7046)Joe Chen2022-06-11
|
* ci: run database tests against Postgres, MySQL and SQLite (#6996)Joe Chen2022-06-01
|
* golangci-lint: add `unparam` linter (#6839)Joe Chen2022-03-13
|
* 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
* db: add tests for repos (#6112)ᴜɴᴋɴᴡᴏɴ2020-04-17
* Add Repos.create method * Fix repo name error handling * Fix all compile errors * Update github.com/go-macaron/captcha to fix http issue * Add repos tests