Ethan Koenig
befa7445d2
Unit tests for routers/repo/issue_label ( #3198 )
7 years ago
Ethan Koenig
e59adcde65
Use httptest in integration tests ( #3080 )
7 years ago
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
Lauris BH
1ec4dc6c1d
Fix so that user can still fork his own repository to owned organizations ( #2699 )
* Fix so that user can still fork his own repository to his organizations
* Fix to only use owned organizations
* Add integration test for forking own repository to owned organization
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
7 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
7 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>
7 years ago
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests ( #1979 )
7 years ago
Mura Li
01322af2e8
Add integration test for pull-request merge ( #1912 )
7 years ago
Shuanglei Tao
13f0e1255a
Fix typo ( #1974 )
7 years ago
Mura Li
033aaf4b38
Add pull-create integration test ( #1972 )
7 years ago
Ethan Koenig
61716bd8f7
Display URLs in integration test logs ( #1924 )
7 years ago
Mura Li
30a831698e
Add integration test for repository forking
7 years ago