Commit Graph

8 Commits (2fd039864b1748ef577691057a9ab7961bcaec23)

Author SHA1 Message Date
Ethan Koenig f64c232953 Improve integration test helper functions ()
Set request headers in helper functions, and new helper for requests with string-formatted URLs
Lauris BH 0a5dc640a1 Make branch deletion URL more like GitHub's, fixes ()
* Make branch deletion URL more like GitHub's, fixes 

* 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
Bo-Yi Wu 90f9bb12c6 fix golint error and rename func for suggestion. ()
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Ethan Koenig ce9b86082c Consolidate boilerplate in integration tests ()
Mura Li 01322af2e8 Add integration test for pull-request merge ()
Ethan Koenig 61716bd8f7 Display URLs in integration test logs ()
Mura Li 662b8bc2a2 Add integration test for file editing ()
Lauris BH 0144817971 Do not allow commiting to protected branch from online editor ()
* 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