B-OnTheGo
e47df0b301
Enforce token on api routes [fixed critical security issue #4357] (#4840)
преди 5 години
techknowlogick
ab55ca7ebd
Add ability to delete a token (#4235)
Fix #4234
преди 6 години
Lauris BH
be1330ec89
Remove hardcoded paths to fix randomly failing tests (#3347)
* Remove hardcoded paths to fix randomly failing tests
* Use correct function for merge path
преди 6 години
Ethan Koenig
befa7445d2
Unit tests for routers/repo/issue_label (#3198)
преди 6 години
Ethan Koenig
682ac11958
Log unexpected responses in integration tests (#3138)
* Log flash error message in integration tests
* Also log short, non-HTML responses
преди 6 години
Ethan Koenig
d1efe2078a
Fix integration tests (#3141)
преди 6 години
Ethan Koenig
e59adcde65
Use httptest in integration tests (#3080)
преди 6 години
Lunny Xiao
f70758dec9
Add git clone test on integration test (#1682)
преди 6 години
Ethan Koenig
1b6a962e70
Include HTTP method in test error message (#2815)
преди 6 години
Ethan Koenig
5866eb2321
Code/repo search (#2582)
Indexed search of repository contents (for default branch only)
преди 6 години
Ethan Koenig
6c6533fb31
Make integration tests more user-friendly (#2536)
преди 6 години
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 години
Lunny Xiao
1739e84ac0
improve protected branch to add whitelist support (#2451)
* improve protected branch to add whitelist support
* fix lint
* fix style check
* fix tests
* fix description on UI and import
* fix test
* bug fixed
* fix tests and languages
* move isSliceInt64Eq to util pkg; improve function names & typo
преди 6 години
Antoine GIRARD
69dfe43ffc
Fix some tests : make coverage -> test (#2492)
* Fix test : make coverage -> test
* Refactor integration tests to be able to run them in parallel
* Add custom local repository temp path
преди 6 години
Ethan Koenig
d23b36c598
Error message for integration test (#2410)
преди 6 години
David Schneiderbauer
8aadf79f80
Add integration tests for signin (#2363)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
преди 6 години
Ethan Koenig
89cd4dd424
Cache session cookies in tests (#2128)
преди 7 години
Ethan Koenig
f1adaef458
Less verbose integration tests (#2123)
* Helper functions for intergration test boilerplate
преди 7 години
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 години
Ethan Koenig
3ffedeab03
Fix bug in issue labels API (#2048)
преди 7 години
Ethan Koenig
255adc40ae
Don't show non-comments in comments API (#2001)
преди 7 години
Bo-Yi Wu
90f9bb12c6
fix golint error and rename func for suggestion. (#1997)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
преди 7 години
Antoine GIRARD
6233e88f7f
Use testing benchmark interface (#1993)
преди 7 години
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests (#1979)
преди 7 години
Ethan Koenig
23d0735f90
Absolute path for setting.CustomConf
преди 7 години
Ethan Koenig
61716bd8f7
Display URLs in integration test logs (#1924)
преди 7 години
Ethan Koenig
e9b1b908ee
Fix setting.AppPath for integration tests
преди 7 години
Ethan Koenig
251fb935ff
Don't recreate database in integration tests (#1697)
преди 7 години
Lunny Xiao
d98a86d2a2
remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test (#1693)
преди 7 години
Lunny Xiao
2bb8b3a562
fix bug when push a branch name with / & fix an integration test bug (#1689)
преди 7 години
Lauris BH
0144817971
Do not allow commiting to protected branch from online editor (#1502)
* Do not allow commiting to protected branch from online editor
* Add editor integration tests for adding new file and not allowing to add new file to protected branch
преди 7 години
Ethan Koenig
66c803fae2
MySQL, Postgres integration tests in drone (#1638)
* MySQL, Postgres integration tests in drone
* Fix .drone.yml
* sign drone
* resign drone
преди 7 години
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 години
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 години