diff options
author | Morlinest <morlinest@gmail.com> | 2017-10-10 03:23:29 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-10-10 09:23:29 +0800 |
commit | c2346e44696e57c31f9765c32ee60b365a15c8f0 (patch) | |
tree | 226563b92412accfbeb6221f3b9a4c5e526347a9 /models/repo_list.go | |
parent | 0cef8ce192d50c4d5346b1e47759578a32e20efb (diff) | |
download | gitea-c2346e44696e57c31f9765c32ee60b365a15c8f0.tar.gz gitea-c2346e44696e57c31f9765c32ee60b365a15c8f0.zip |
Add repository search unit and integration tests (#2575)
* Add more repo search tests
* Fix repo search tests
* Always test returned repos length
* Add test with lower pagesize limit (test more pages)
* Add and fix /api/repo/search integration tests
* Simplify unit tests code
* Simplify and unify integration tests code
* Improve test coverage
* Temporary fix tests due to bugs in current repo search implementation
* Revert removing not nil Searcher
* Add more checks to tests
* Simplify privacy checks in /api/repo tests
* Temporary remove privacy check from repo search tests
Diffstat (limited to 'models/repo_list.go')
0 files changed, 0 insertions, 0 deletions