summaryrefslogtreecommitdiffstats
path: root/models/unittest/unit_tests.go
Commit message (Collapse)AuthorAgeFilesLines
* Test query must have "order by" explicitly to avoid unstable results (#24963)wxiaoguang2023-05-291-17/+27
| | | | | | The query must have the "ORDER BY", otherwise the result is not deterministic. Replace "interface{}" with "any" by the way.
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
| | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Refactor AssertExistsAndLoadBean to use generics (#20797)Lunny Xiao2022-08-161-1/+1
| | | | | | | * Refactor AssertExistsAndLoadBean to use generics * Fix tests Co-authored-by: zeripath <art27@cantab.net>
* Decouple unit test, remove intermediate `unittestbridge` package (#17662)wxiaoguang2021-11-161-0/+139
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>