@@ -1824,7 +1824,7 @@ func TestTeamsService_GetExternalGroup(t *testing.T) {
18241824
18251825 const methodName = "GetExternalGroup"
18261826 testBadOptions (t , methodName , func () (err error ) {
1827- _ , _ , err = client .Teams .GetExternalGroup (ctx , "" , - 1 )
1827+ _ , _ , err = client .Teams .GetExternalGroup (ctx , "\n " , - 1 )
18281828 return err
18291829 })
18301830
@@ -1900,12 +1900,12 @@ func TestTeamsService_ListExternalGroups(t *testing.T) {
19001900
19011901 const methodName = "ListExternalGroups"
19021902 testBadOptions (t , methodName , func () (err error ) {
1903- _ , _ , err = client .Teams .ListExternalGroups (ctx , "" , nil )
1903+ _ , _ , err = client .Teams .ListExternalGroups (ctx , "\n " , opts )
19041904 return err
19051905 })
19061906
19071907 testNewRequestAndDoFailure (t , methodName , client , func () (* Response , error ) {
1908- got , resp , err := client .Teams .ListExternalGroups (ctx , "o" , nil )
1908+ got , resp , err := client .Teams .ListExternalGroups (ctx , "o" , opts )
19091909 if got != nil {
19101910 t .Errorf ("testNewRequestAndDoFailure %v = %#v, want nil" , methodName , got )
19111911 }
@@ -2016,7 +2016,7 @@ func TestTeamsService_UpdateConnectedExternalGroup(t *testing.T) {
20162016
20172017 const methodName = "UpdateConnectedExternalGroup"
20182018 testBadOptions (t , methodName , func () (err error ) {
2019- _ , _ , err = client .Teams .UpdateConnectedExternalGroup (ctx , "" , "" , body )
2019+ _ , _ , err = client .Teams .UpdateConnectedExternalGroup (ctx , "\n " , "\n " , body )
20202020 return err
20212021 })
20222022
@@ -2071,7 +2071,7 @@ func TestTeamsService_RemoveConnectedExternalGroup(t *testing.T) {
20712071
20722072 const methodName = "RemoveConnectedExternalGroup"
20732073 testBadOptions (t , methodName , func () (err error ) {
2074- _ , err = client .Teams .RemoveConnectedExternalGroup (ctx , "" , "" )
2074+ _ , err = client .Teams .RemoveConnectedExternalGroup (ctx , "\n " , "\n " )
20752075 return err
20762076 })
20772077
0 commit comments