Update go-github library

This commit is contained in:
Luke Kysow
2018-12-12 09:55:17 -06:00
parent e001353ae9
commit 139f05ab49
170 changed files with 14305 additions and 3086 deletions

View File

@@ -12,7 +12,7 @@ import (
)
func TestUsersService_PromoteSiteAdmin(t *testing.T) {
setup()
client, mux, _, teardown := setup()
defer teardown()
mux.HandleFunc("/users/u/site_admin", func(w http.ResponseWriter, r *http.Request) {
@@ -27,7 +27,7 @@ func TestUsersService_PromoteSiteAdmin(t *testing.T) {
}
func TestUsersService_DemoteSiteAdmin(t *testing.T) {
setup()
client, mux, _, teardown := setup()
defer teardown()
mux.HandleFunc("/users/u/site_admin", func(w http.ResponseWriter, r *http.Request) {
@@ -42,7 +42,7 @@ func TestUsersService_DemoteSiteAdmin(t *testing.T) {
}
func TestUsersService_Suspend(t *testing.T) {
setup()
client, mux, _, teardown := setup()
defer teardown()
mux.HandleFunc("/users/u/suspended", func(w http.ResponseWriter, r *http.Request) {
@@ -57,7 +57,7 @@ func TestUsersService_Suspend(t *testing.T) {
}
func TestUsersService_Unsuspend(t *testing.T) {
setup()
client, mux, _, teardown := setup()
defer teardown()
mux.HandleFunc("/users/u/suspended", func(w http.ResponseWriter, r *http.Request) {