Lauris BH
201f9917c1
Integration test for activity page ( #2704 )
* Integration test for activity page
* Small code refactoring for acitvity page
* Move activity stats calculation logic to model
7 years ago
Lunny Xiao
1c80057b53
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
7 years ago
Ethan Koenig
1c10f454eb
Less verbose integration tests ( #2123 )
* Helper functions for intergration test boilerplate
8 years ago
Ethan Koenig
2775b8b420
Improve integration test helper functions ( #2049 )
Set request headers in helper functions, and new helper for requests with string-formatted URLs
8 years ago
Lauris BH
3979a175bd
Make branch deletion URL more like GitHub's, fixes #1397 ( #1994 )
* Make branch deletion URL more like GitHub's, fixes #1397
* Add PR branch deletion integration test
* Do not allow deleting protected branch
* Change http error code to 403 if user has no write rights to repository
* Add check to not panic if forked repository has alrady been deleted
8 years ago
Bo-Yi Wu
54949c9b66
fix golint error and rename func for suggestion. ( #1997 )
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Ethan Koenig
036475727f
Consolidate boilerplate in integration tests ( #1979 )
8 years ago
Mura Li
ff0823bece
Add integration test for pull-request merge ( #1912 )
8 years ago
Ethan Koenig
e4e3367ae7
Display URLs in integration test logs ( #1924 )
8 years ago
Mura Li
490d69898f
Add integration test for file editing ( #1907 )
8 years ago
Lauris BH
f814963397
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
8 years ago