Ethan Koenig
befa7445d2
Unit tests for routers/repo/issue_label (#3198)
6 anni fa
Lauris BH
240609432b
Issue content should not be updated when closing with comment (#2833)
6 anni fa
Ethan Koenig
b0f7457d9e
Improve issue search (#2387)
* Improve issue indexer
* Fix new issue sqlite bug
* Different test indexer paths for each db
* Add integration indexer paths to make clean
6 anni fa
Ethan Koenig
f1adaef458
Less verbose integration tests (#2123)
* Helper functions for intergration test boilerplate
7 anni fa
Ethan Koenig
f64c232953
Improve integration test helper functions (#2049)
Set request headers in helper functions, and new helper for requests with string-formatted URLs
7 anni fa
Mura Li
4d2ea7dc41
Add integration test for issue creating (#2002)
7 anni fa
Bo-Yi Wu
90f9bb12c6
fix golint error and rename func for suggestion. (#1997)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
7 anni fa
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests (#1979)
7 anni fa
Ethan Koenig
8fcda0442e
Fix search by issue type (#1914)
* Fix search by issue type
7 anni fa
Ethan Koenig
61716bd8f7
Display URLs in integration test logs (#1924)
7 anni fa
Ethan Koenig
bafd778c25
Fix invalid reference in feeds template (#1820)
* Fix invalid reference in feeds template
* Comment for GetActAvatar
* Add integration test
7 anni fa
Lunny Xiao
e31c02d4bf
fix bug on issue view when not login (#1624)
* fix bug on issue view when not login
* hide issue watch when not login
* update the tests
* fix test on issue
7 anni fa
Lunny Xiao
61b08b5c01
bug fixed for API to get user's repos (#1622)
* bug fixed for API to get user's repos
* add tests and fix another place
* test user2 since user1 has no repos
7 anni fa
Lunny Xiao
fca7ddc6ea
improve integration test to resue models/fixtures and store git repos with tests (#1627)
* improve integration test to resue models/fixtures and store git repos with source
* use gitea-integration-meta dir instead .tar.gz and cleanup every before every test
* fix import package name
7 anni fa
Ethan Koenig
c58708d3ee
Integration test framework (#1290)
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
7 anni fa