mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-01 21:08:49 +00:00
Update go-github library
This commit is contained in:
8
vendor/github.com/google/go-github/github/users_administration_test.go
generated
vendored
8
vendor/github.com/google/go-github/github/users_administration_test.go
generated
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user