Lauris BH
c7f4f07765
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
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
7 years ago
Ethan Koenig
f1adaef458
Less verbose integration tests ( #2123 )
...
* Helper functions for intergration test boilerplate
7 years ago
Ethan Koenig
f64c232953
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
0a5dc640a1
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
90f9bb12c6
fix golint error and rename func for suggestion. ( #1997 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests ( #1979 )
8 years ago
Mura Li
01322af2e8
Add integration test for pull-request merge ( #1912 )
8 years ago
Ethan Koenig
61716bd8f7
Display URLs in integration test logs ( #1924 )
8 years ago
Mura Li
662b8bc2a2
Add integration test for file editing ( #1907 )
8 years ago
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
8 years ago